Module dropbox_sdk::client_trait [−][src]
Expand description
Everything needed to implement your HTTP client.
Structs
The response from the server, parsed into a given type, including a body stream if it is from a Download style request.
The raw response from the server, containing the result from either a header or the body, as appropriate to the request style, and a body stream if it is from a Download style request.
Enums
The API base endpoint for a request. Determines which hostname the request should go to.
The format of arguments being sent in a request.
The style of a request, which determines how arguments are passed, and whether there is a request and/or response body.
Used with Team Authentication to select a user context within that team.
Traits
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.
The base HTTP client trait.
Marker trait to indicate that a HTTP client supports unauthenticated routes.
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.
Marker trait to indicate that a HTTP client supports User authentication.
Team authentication works by adding a Authorization: Bearer <TOKEN>
header.