Modules§
Structs§
- Configuration
- Configuration for an API client.
- Response
Content - Response content from a failed API call.
Enums§
- Auth
Required - Marker struct used for endpoints that require authentication. It will be included in the request’s extensions to signal to the middleware that authentication is required.
- Content
Type - Content types supported by the API client.
- Error
- Errors that can occur during API operations.
Functions§
- new_
http_ client - Returns a [
reqwest::Client] built fromnew_http_client_builder. - new_
http_ client_ builder - Returns a [
reqwest::ClientBuilder] preconfigured with the SDK’s TLS settings. - parse_
deep_ object - Parses a deep object (nested JSON) into flat query parameters.
- process_
with_ empty_ response - Sends and processes a request expecting an empty response, returning
Ok(())when successful. - process_
with_ json_ response - Sends and processes a request expecting a JSON response, deserializing it into the type
T. - urlencode
- URL-encodes a string for use in query parameters.