You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have protocol-websocket which is about 4x more memory efficient which was the main driver for the implementation, and it also supports websockets over HTTP/1 and HTTP/2.
You'll need to subclass the Connection class and handle the incoming frames.
The previous implementation depended on faye-websocket event emitter and object types, so you'll need to make some kind of wrapper if you want to have the same interface there.
However, practically speaking, there isn't that much to wrap - it's mostly just text and data frames. Some of the frames emitted by faye don't correspond to actual websocket frames which is probably confusing in hindsight.
The interface has changed, looks like there's a native ws implementation, etc.
cc: @ioquatix I started on this but couldn't make it work
Correct set of includes to start for async.rb
The text was updated successfully, but these errors were encountered: