class Raze::WebSocketServerHandler
- Raze::WebSocketServerHandler
- HTTP::WebSocketHandler
- Reference
- Object
Defined in:
raze/websocket_server_handler.crConstant Summary
-
INSTANCE =
new do |sock, ctx| lookup_result = Raze::WebSocketServerHandler::INSTANCE.lookup_route(ctx.request.path) ctx.params = lookup_result.params stack = lookup_result.payload.as(Raze::WebSocketStack) content = stack.run(sock, ctx) end