Module client

Module client 

Source
Expand description

HTTP client to make requests with.

Structs§

DefaultResponseExtractor
A default implementation of ResponseExtractor.
EmptyResponseExtractor
A default implementation of ResponseExtractor which ignores the response.
FnResponseExtractor
A function to extract only the necessary data from Response. For example, using this you could ignore body if you don’t need them.
HttpCallResponse
The response of an HTTP call.
HttpClient
An asynchronous HTTP client to make Requests with.
HttpClientResponse
The response for the default DefaultResponseExtractor.
InvalidUri
Represents an invalid URI error.
Request
The request to be sent to the backend.
RequestBuilder
A builder for a request to be sent to the upstream.
Service
Represents the upstream to be called.
Uri
Represents a URI.

Enums§

HttpClientError
The Errors that may occur when processing a Request.

Traits§

ResponseBuffers
An accessor for response parts.
ResponseExtractor
A low-level trait for extracting a Response and convert it to a ResponseExtractor::Output type.