Expand description
WebSocket protocol negotiation for GraphQL subscriptions.
Supports both the modern graphql-transport-ws protocol and the legacy
graphql-ws (Apollo subscriptions-transport-ws) protocol. Messages are
translated to/from a unified internal representation using
ClientMessage / ServerMessage from fraiseql-core.
Structs§
- Protocol
Codec - Codec that translates between wire-format messages and the unified internal
ClientMessage/ServerMessagetypes.
Enums§
- Protocol
Error - Protocol-level errors.
- WsProtocol
- Supported
WebSocketsub-protocols for GraphQL subscriptions.