Available on crate feature
default_client
only.Expand description
The default HTTP client.
Use this client if you’re not particularly picky about implementation details, as the specific implementation is not exposed, and may be changed in the future.
If you have a need for a specific HTTP client implementation, or your program is already using
some HTTP client crate, you probably want to have this Dropbox SDK crate use it as well. To do
that, you should implement the traits in crate::client_trait
for it and use it instead.
This code (and its dependencies) are only built if you use the default_client
Cargo feature.
Structs§
- AppAuth
Default Client - Default HTTP client using App authorization.
- Noauth
Default Client - Default HTTP client for unauthenticated API calls.
- Request
Error - Something went wrong making the request, or the server returned a response we didn’t expect.
Use the
Display
orDebug
impls to see more details. Note that this type is intentionally vague about the details beyond these string representations, to allow implementation changes in the future. - Team
Auth Default Client - Default HTTP client using Team authorization.
- Ureq
Request - This is an implementation detail of the HTTP client.
- User
Auth Default Client - Default HTTP client using User authorization.
Enums§
- Default
Client Error - Errors from the HTTP client encountered in the course of making a request.