Skip to main content

Module subscriber

Module subscriber 

Source
Expand description

Subscriber, SubscriptionMapper and SubscriptionValidator traits that define how a Connector will subscribe to exchange MarketStreams.

Standard implementations for subscribing to WebSocket MarketStreams are included.

Modules§

mapper
SubscriptionMapper implementations defining how to map a collection of Barter Subscriptions into exchange specific SubscriptionMeta.
validator
SubscriptionValidator implementations defining how to validate actioned Subscriptions were successful.

Structs§

Subscribed
The outcome of a successful Subscriber::subscribe.
WebSocketSubscriber
Standard Subscriber for WebSockets suitable for most exchanges.

Traits§

Subscriber
Defines how to connect to a socket and subscribe to market data streams.