Module dropbox_sdk::default_client
source · [−]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
Default HTTP client for unauthenticated API calls.
Something went wrong making the request, or the server returned a response we didn’t expect.
Use the Display
or Debug
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.
Default HTTP client using Team authorization.
Default HTTP client using User authorization.
Enums
Errors from the HTTP client encountered in the course of making a request.