Crate apisdk

source ·
Expand description

A highlevel API client framework for Rust.

Re-exports§

Modules§

Macros§

Structs§

  • This struct is used to sign request by using access_token
  • This struct is used to build an instance of ApiCore
  • This struct is used to create HTTP request
  • This struct is used to parse response body to json or xml
  • This struct is used to parse response body to xml
  • ClientWithMiddleware is a wrapper around reqwest::Client which runs middleware on every request.
  • A ClientBuilder can be used to create a Client with custom configuration.
  • This struct is used to parse {code, data, message} payload.
  • The DynamicForm is mixin of urlencoded form and multipart form
  • A type map of protocol extensions.
  • This struct is used to sign request by hashed token.
  • This struct is used to parse response body to json
  • This struct is used to control how to log. It could be injected into request as an extension.
  • The Request Method (VERB)
  • This middleware is used to mock the response
  • This struct wraps reqwest::multipart::Form
  • Next encapsulates the remaining middleware chain to run in Middleware::handle. You can forward the request down the chain with run.
  • This struct is used to parse token
  • A request which can be executed with Client::execute().
  • This is a wrapper around reqwest::RequestBuilder exposing the same API.
  • This extension will set the X-Request-ID header
  • A Response to a submitted Request.
  • This struct is used to provides many SocketAddrs
  • This struct is used to parse response body to text
  • This extension will set the X-Trace-ID and/or X-Span-ID header
  • A parsed URL record.
  • This struct is used to parse response body to xml

Enums§

Traits§

Functions§

Type Aliases§

Attribute Macros§