class Kemal::WebSocketHandler

Included Modules

Defined in:

kemal/websocket_handler.cr

Constant Summary

INSTANCE = new

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def add_route(path : String, &handler : HTTP::WebSocket, HTTP::Server::Context -> Void) #

[View source]
def call(context : HTTP::Server::Context) #

[View source]
def lookup_ws_route(path : String) #

[View source]
def routes : Radix::Tree(Kemal::WebSocket) #

[View source]
def routes=(routes) #

[View source]