websocket library

Transport-neutral WebSocket lifecycle contracts.

Classes

AlphaXCancellationToken
Idempotent caller-controlled cancellation source.
AlphaXWebSocketBinaryMessage
A WebSocket binary message.
AlphaXWebSocketCapabilities
Capabilities and honest limitations of a WebSocket connector.
AlphaXWebSocketCloseInfo
Information available when an AlphaX WebSocket session terminates.
AlphaXWebSocketConnector
A transport-neutral WebSocket connector.
AlphaXWebSocketMessage
A complete text or binary message received from or sent to a WebSocket.
AlphaXWebSocketSession
One full-duplex WebSocket session.
AlphaXWebSocketTextMessage
A WebSocket text message.

Enums

AlphaXErrorKind
Normalized categories exposed by AlphaX transports.
AlphaXSupport
A capability can be supported, unavailable, or not known by a transport.
AlphaXTimeoutKind
Timeout phase understood by the AlphaX public contract.
AlphaXWebSocketCloseOrigin
The source of a terminal WebSocket close.
AlphaXWebSocketState
The lifecycle state of an AlphaX WebSocket session.

Exceptions / Errors

AlphaXCancellationException
A caller or client lifecycle requested cancellation.
AlphaXCancelledException
Compatibility spelling for the Phase 0 cancellation exception.
AlphaXException
Base exception for the AlphaX public API.
AlphaXTimeoutException
A configured timeout elapsed.
AlphaXWebSocketClosedException
A send or close operation was attempted after WebSocket termination began.
AlphaXWebSocketException
A normalized WebSocket connection or session failure.