Creates a new WebSocket context.
The WebSocket connection.
The server request object.
The context shared state.
Timestamp when processing finished.
ReadonlymethodRequest method wrapper.
ReadonlyrequestRequest body wrapper.
ReadonlyrequestRequest headers wrapper.
ReadonlyresponseResponse body wrapper.
ReadonlyresponseResponse headers wrapper.
ReadonlystartTimestamp when processing started.
ReadonlystateThe context shared state.
ReadonlystatusResponse status wrapper.
ReadonlytraceNames of middleware that have already been processed.
ReadonlytypeThe variant of context type.
ReadonlyurlRequest URL wrapper.
Parsed client IP address.
Parsed connection details.
Whether the client is identified as a bot.
Parsed User-Agent data.
Represents the http-server context for a WebSocket connections.
Handles WebSocket connection lifecycle with duplex streaming support.