Builds WS message envelope config for routing inbound frames.
Reads websocket.dispatch.discriminators from the exchange spec and merges
authored per-exchange envelope overrides (data field, unwrap_list,
match_type).
Summary
Functions
Returns envelope config for an exchange, or nil when routing is unavailable.
Returns the match strategy for an exchange envelope.
Returns prefix channel keys that need prefix matching (e.g. OKX candle).
Types
Functions
@spec for_exchange(Bourse.Exchange.t()) :: envelope() | nil
Returns envelope config for an exchange, or nil when routing is unavailable.
Returns the match strategy for an exchange envelope.
Returns prefix channel keys that need prefix matching (e.g. OKX candle).