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§

Structs§

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

Enums§

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

Traits§

  • 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.