Expand description
The REST side: the authorized client, one method per endpoint, and the models.
client:BcsHttpClient, tokens and the generic calls.endpoints: the typed endpoint methods, documented on the client type.models: request and response models.
Modules§
- client
- The authorized HTTP client: token handling, the 401 retry and the mapping of error replies.
- endpoints
- One typed method per REST endpoint of the BCS Trade API, as
implblocks ofBcsHttpClient. - models
- Request and response models of the REST API, one struct per JSON shape of the broker.