Alumna::Http::WebSocketSession
One upgraded socket. provider is always WEBSOCKET_PROVIDER. Handshake headers are copied onto every frame context. One store Hash for the life of the socket (ROADMAP 4.2).
Constructors
Instance methods
app
SourceJSON frames are text. Binary is an error reply, not a raise.
One text frame → dispatch → one JSON reply. Never raise to the socket loop.
headers
Sourceid
SourceParse one frame and run App#dispatch. Used by specs without a live socket.
provider
Sourceremote_ip
Sourcesocket
Sourcestore
Sourceunregister
Source