class Helpers::WebSocket::Handler::DeviceHandler

Defined in:

helpers/web_socket/handler/device_handler.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(socket : DevicesSocket, message : JSON::Any) #

[View source]

Class Method Detail

def self.auth_payload(message : Body) #

[View source]
def self.device_auth(message) #

[View source]
def self.handle_leave(socket) #

[View source]
def self.handle_message(socket, message) #

[View source]
def self.send_message(message) #

[View source]

Instance Method Detail

def authenticate! #

[View source]
def device : Auth::DeviceAuth #

[View source]