Skip to main content

Module channel

Module channel 

Source
Expand description

Channels a client can subscribe to on /ws.

This is the single list of channel names. The API rejects a Subscribe for any other name with an Error carrying UNKNOWN_CHANNEL_CODE, and the fanout applies the same check. Before the check existed the API confirmed any name and then sent nothing, which left a client on a dead subscription it could not detect.

Enums§

WsChannel
A subscribable /ws channel.

Constants§

RETIRED_CHANNELS
Former channels. The API answers a subscribe to one of these with an error that says where the data moved, rather than unknown_channel.
UNKNOWN_CHANNEL_CODE
code of the Error sent for a Subscribe naming an unknown channel.