Module api

Module api 

Source
Expand description

Types describing Lazer HTTP and WebSocket APIs.

Structs§

ErrorResponse
Sent from the server if an internal error occured while serving data for an existing subscription, or a client request sent a bad request.
InvalidFeedSubscriptionDetails
JsonBinaryData
JsonUpdate
LatestPriceRequest
ParsedFeedPayload
ParsedPayload
PriceRequest
ReducePriceRequest
StreamUpdatedResponse
Sent from the server when new data is available for an existing subscription (only if delivery_format == Json).
SubscribeRequest
SubscribedResponse
Sent from the server after a successul subscription.
SubscribedWithInvalidFeedIdsIgnoredResponse
SubscriptionErrorResponse
Sent from the server if the requested subscription or unsubscription request could not be fulfilled.
SubscriptionId
SubscriptionParams
SubscriptionParamsRepr
UnsubscribeRequest
UnsubscribedResponse

Enums§

Channel
DeliveryFormat
Format
JsonBinaryEncoding
WsRequest
A request sent from the client to the server.
WsResponse
A JSON response sent from the server to the client.

Functions§

default_parsed

Type Aliases§

LatestPriceResponse
PriceResponse
ReducePriceResponse