Skip to main content

Module transport

Module transport 

Source
Expand description

HTTP transport abstraction for LaunchDarkly SDKs.

This module defines the HttpTransport trait which allows users to plug in their own HTTP client implementation (hyper, reqwest, or custom).

Structs§

HeaderMap
A specialized multimap for header names and values.
HeaderValue
Represents an HTTP header field value.
Request
Represents an HTTP request.
Response
Represents an HTTP response
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
TransportError
Error type for HTTP transport operations.
Uri
The URI component of a request.

Traits§

HttpTransport
Trait for pluggable HTTP transport implementations.

Type Aliases§

ByteStream
A pinned, boxed stream of bytes returned by HTTP transports.
ResponseFuture
A pinned, boxed future for an HTTP response.