Skip to main content

Module messages

Module messages 

Source
Expand description

Binance Spot public JSON WebSocket message types.

Structs§

BinanceCombinedStreamEvent
Combined stream wrapper used by /stream endpoint.
BinanceSpotBookTickerMsg
Best bid/ask stream message.
BinanceSpotDepthDiffMsg
Diff depth stream message.
BinanceSpotKlineData
Kline data within kline message.
BinanceSpotKlineMsg
Kline stream message.
BinanceSpotPartialDepthMsg
Partial depth stream message with symbol inferred from stream name.
BinanceSpotPartialDepthPayload
Raw partial depth payload from Spot JSON stream.
BinanceSpotServerShutdownMsg
Server shutdown event sent before Binance disconnects clients.
BinanceSpotTradeMsg
Trade stream message.
BinanceWsSubscription
Binance WebSocket subscription request.

Enums§

BinanceSpotPublicWsCommand
Commands sent from the outer client to the inner handler.
BinanceSpotPublicWsMessage
Output message from the Spot public JSON WebSocket handler.

Type Aliases§

BinanceSpotWsErrorResponse
BinanceSpotWsResponse