Skip to main content

Module messages

Module messages 

Source
Expand description

Typed control messages and channel identities for the Predictions WebSocket protocol.

Structs§

KalshiChannelIter
An iterator over the variants of KalshiChannel
KalshiDataMessage
A channel payload with the identity needed for downstream sequence validation.
KalshiServerError
A protocol error; codes 10 and 25 terminate the affected channel.
KalshiSubscribed
A confirmed channel and its server subscription ID.
KalshiSubscription
A shared subscription’s original channel and market filter.
KalshiUpdateActionIter
An iterator over the variants of KalshiUpdateAction
KalshiUpdated
The authoritative market filter after a subscription update.

Enums§

KalshiChannel
Predictions WebSocket channels; subscription support is validated separately.
KalshiUpdateAction
Supported updates to an existing Predictions subscription.
KalshiWsMessage
A single decoded server frame, before domain-specific payload conversion.