Method: Mooncell::Protocol::WebSocket::Server#open

Defined in:
lib/mooncell/protocol/websocket/server.rb

#open(_event) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

On WebSocket open

Since:

  • 0.1.0



43
44
45
# File 'lib/mooncell/protocol/websocket/server.rb', line 43

def open(_event)
  @conn = Mooncell::Connection.new(self, app)
end