class

Kemal::WebSocket

Inherits HTTP::WebSocketHandler < HTTP::Handler < Reference < Object

Takes 2 parameters: path and a handler to specify what action to be done if the route is matched.

Constructors

new(path : String, filters : FilterHandler::ScopedFilters | Nil = nil, &proc : HTTP::WebSocket, HTTP::Server::Context -> )
Source

Instance methods

proc
Source