class

MonkeyShoulderWeb::Controllers::InstanceController

Inherits Grip::Controllers::WebSocket < Grip::Helpers::Singleton < HTTP::Handler < Reference < Object

Class methods

instance
Source

Instance methods

handlers
Source
handlers=(handlers : Utilities::Synchronized(Array(String)))
Source
on_binary(context : Context, socket : Socket, binary : Bytes) : Void
Source
on_close(context : Context, socket : Socket, close_code : HTTP::WebSocket::CloseCode | Int | Nil, message : String) : Void
Source
on_message(context : Context, socket : Socket, message : String) : Void
Source
on_open(context : Context, socket : Socket) : Void
Source
on_ping(context : Context, socket : Socket, message : String) : Void
Source
on_pong(context : Context, socket : Socket, message : String) : Void
Source
sockets
Source
sockets=(sockets : Array(Socket))
Source

Nested types