Skip to main content

Module protocol

Module protocol 

Source
Expand description

Stable, non-payload parts of the Pulse wire-v2 contract.

Keeping these values beside the frame codec prevents the server, SDKs and documentation from independently redefining protocol behavior.

Enums§

RetryClass
What a client should do after a terminal application close.

Constants§

ALPN
TLS ALPN negotiated by every Pulse QUIC connection.
CLOSE_INVALID_CONTROL
The first control message was malformed or otherwise invalid.
CLOSE_QUOTA_EXCEEDED
Admission is temporarily unavailable (for example, all subscription slots are currently in use). Retry with bounded, jittered backoff.
CLOSE_TIER_NOT_ENTITLED
The authenticated tier can never use the requested Pulse entitlement or subscription shape. Retrying the same request cannot succeed.
CLOSE_UNAUTHENTICATED
Authentication failed, credentials were revoked, or required credentials were not supplied.
CLOSE_UNSUPPORTED_VERSION
The first control message did not negotiate a supported wire version.
WIRE_VERSION
The only wire version implemented by this release.

Functions§

classify_close_code
Classifies a Pulse application close code without guessing about unknown codes. In particular, unknown codes are not automatically retryable.