Skip to main content

Module websocket

Module websocket 

Source
Expand description

Responses WebSocket messages, separate from the HTTP upgrade handshake.

Sources: the Responses WebSocket events reference and WebSocket mode guide. Lane/prefill controls stay separate from HTTP DTOs. Steering has its own acknowledgements, pending inputs, and automatic continuation lifecycle. The transport/host owns the duplex connection and continuation orchestration.

Structs§

ErrorDetail
ErrorMessage
InterruptRequest
RequestMessage
WS-only controls from the current official WebSocket mode guide. They never enter the HTTP generation request body.
ServerMessage

Enums§

ClientEvent
ErrorMessageType
InterruptEvent
InterruptMode
ServerEvent
Generation and steering have distinct lifecycles on the same connection.

Type Aliases§

HandshakeRequest
HandshakeResponse