Skip to main content

Module http

Module http 

Source
Expand description

The REST client: the authorized client::AlorHttpClient, one typed method per endpoint in endpoints, and the request and response models in models.

Modules§

client
The authorized HTTP client: token handling, the 401 repeat of reads and the mapping of error replies.
endpoints
One typed method per REST endpoint of the ALOR OpenAPI, as impl blocks of AlorHttpClient.
models
Request and response models of the REST API, one struct per JSON shape of the broker.