Module async_client_trait

Source
Expand description

Everything needed to implement your async HTTP client.

Structs§

HttpRequestResult
The response from the server, parsed into a given type, including a body stream if it is from a Download style request.
HttpRequestResultRaw
The raw response from the server, including an async streaming response body.

Enums§

TeamSelect
Used with Team Authentication to select a user context within that team.

Traits§

AppAuthClient
Marker trait to indicate that a HTTP client supports App authentication. App authentication works by adding a Authorization: Basic <base64(APP_KEY:APP_SECRET)> header to the HTTP request.
HttpClient
The base HTTP asynchronous client trait.
HttpRequest
A builder for a HTTP request.
NoauthClient
Marker trait to indicate that a HTTP client supports unauthenticated routes.
TeamAuthClient
Marker trait to indicate that a HTTP client supports Team authentication. Team authentication works by adding a Authorization: Bearer <TOKEN> header, and optionally a Dropbox-API-Select-Admin or Dropbox-API-Select-User header.
UserAuthClient
Marker trait to indicate that a HTTP client supports User authentication. User authentication works by adding a Authorization: Bearer <TOKEN> header.