Skip to main content

Module http

Module http 

Source
Expand description

The REST side: the authorized client, one method per endpoint, and the 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 impl blocks of BcsHttpClient.
models
Request and response models of the REST API, one struct per JSON shape of the broker.