Skip to content

API changes #14

@matti

Description

@matti

So in my old code that used this gem before api changes I had:

            while message = @connection.next_event
              type = case message
              when WebSocket::Driver::OpenEvent
                puts "ws: open #{@env["REMOTE_ADDR"]}"
              when WebSocket::Driver::CloseEvent
                puts "ws: close #{@env["REMOTE_ADDR"]}"

What should I do now? I'm lost with the recent changes that broke all of my code.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions