Expand description
Everything needed to implement your async HTTP client.
Structs§
- Http
Request Result - The response from the server, parsed into a given type, including a body stream if it is from a Download style request.
- Http
Request Result Raw - The raw response from the server, including an async streaming response body.
Enums§
- Team
Select - Used with Team Authentication to select a user context within that team.
Traits§
- AppAuth
Client - 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. - Http
Client - The base HTTP asynchronous client trait.
- Http
Request - A builder for a HTTP request.
- Noauth
Client - Marker trait to indicate that a HTTP client supports unauthenticated routes.
- Team
Auth Client - Marker trait to indicate that a HTTP client supports Team authentication.
Team authentication works by adding a
Authorization: Bearer <TOKEN>
header, and optionally aDropbox-API-Select-Admin
orDropbox-API-Select-User
header. - User
Auth Client - Marker trait to indicate that a HTTP client supports User authentication.
User authentication works by adding a
Authorization: Bearer <TOKEN>
header.