Module publisher

Source
Expand description

WebSocket JSON protocol types for API the publisher provides to the router. Publisher data sourcing may also be implemented in the router process, eliminating WebSocket overhead.

Structs§

PriceFeedDataV1
Old Represents a binary (bincode-serialized) stream update sent from the publisher to the router. Superseded by PriceFeedData.
PriceFeedDataV2
Represents a binary (bincode-serialized) stream update sent from the publisher to the router.
UpdateDeserializationErrorResponse
Sent to the publisher if the binary data could not be parsed

Enums§

ServerResponse
A response sent from the server to the publisher client. Currently only serde errors are reported back to the client.