ReadonlyheadersThe upgrade request headers — read these to authenticate the peer.
ReadonlypathThe URL path component (no query string).
Optional ReadonlyprotocolThe negotiated subprotocol, when one was selected.
ReadonlyqueryQuery string parameters.
ReadonlyurlThe full upgrade request URL.
Optional ReadonlyuserThe authenticated principal, when one authenticated the upgrade. Populated
by threading ctx.request.user through
IWebSocketService.routeUpgrade; omitted when the upgrade was
not authenticated. Read this in onOpen to identify the peer rather than
re-deriving it from the headers.
Details of the upgrade request that opened a connection, handed to
WebSocketHandlers.onOpen.Because WebSocket routes match on exact path, variable data travels in the query string and is exposed through
WebSocketConnectionContext.query.Since
0.2.0