Routes decoded WS frames to payload families using envelope extraction.
Channel → family resolution reads websocket.dispatch via Bourse.WS.Dispatch.
Summary
Functions
Extracts the channel name using the envelope's discriminator_field.
Extracts payload data using the envelope's data_field.
Extracts a market id segment from a dot-delimited channel string.
Resolves a dot-notation path in a nested map.
Routes a decoded WS message for an exchange.
Routes a decoded WS message using an explicit envelope config.
Types
Functions
Extracts the channel name using the envelope's discriminator_field.
Extracts payload data using the envelope's data_field.
Extracts a market id segment from a dot-delimited channel string.
Resolves a dot-notation path in a nested map.
@spec route(map(), Bourse.Exchange.t()) :: route_result()
Routes a decoded WS message for an exchange.
@spec route(map(), map() | nil, Bourse.Exchange.t()) :: route_result()
Routes a decoded WS message using an explicit envelope config.