Crate tower_api_client

Source
Expand description

tower_api_client is a library for building strongly typed API clients, with built-in capabilites for authentication, various request and response types and pagination.

Modules§

header
HTTP header types
pagination
Constructs for wrapping a paginated API.

Structs§

Client
The main client used for making requests.
EmptyResponse
Struct symbolizing an empty response from the server.
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 7230 et al.).

Enums§

Error
Possible errors in the request-response lifecycle.
RequestData
Additional data to be sent along with the request.

Traits§

Request
The base-trait for requests sent by the client. The trait specifies the full life-cycle of the request, including the endpoint, headers, data, method and eventual response.
ServiceExt