class MonkeyShoulderWeb::Controllers::InstanceController

Defined in:

monkey_shoulder_web/controllers/instance_controller.cr

Class Method Summary

Instance Method Summary

Class Method Detail

def self.instance #

[View source]

Instance Method Detail

def handlers : Utilities::Synchronized(Array(String)) #

[View source]
def handlers=(handlers : Utilities::Synchronized(Array(String))) #

[View source]
def on_binary(context : Context, socket : Socket, binary : Bytes) : Void #

[View source]
def on_close(context : Context, socket : Socket, close_code : HTTP::WebSocket::CloseCode | Int | Nil, message : String) : Void #

[View source]
def on_message(context : Context, socket : Socket, message : String) : Void #

[View source]
def on_open(context : Context, socket : Socket) : Void #

[View source]
def on_ping(context : Context, socket : Socket, message : String) : Void #

[View source]
def on_pong(context : Context, socket : Socket, message : String) : Void #

[View source]
def sockets : Array(Socket) #

[View source]
def sockets=(sockets : Array(Socket)) #

[View source]