class WS_Middleware
- WS_Middleware
- Reference
- Object
Overview
Accept registrations of websocket protocols. Accept websocket connections on behalf of those protocols. This is meant to be part of a middleware stack associated with HTTP::Server.
Included Modules
- HTTP::Handler
Defined in:
ws_service.crConstructors
Class Method Summary
Instance Method Summary
-
#call(c : HTTP::Server::Context)
Accept a websocket connection from the client.
- #finalize
- #register(path : String, protocol : WS_Service.class)
- #unregister(path : String)