[−][src]Module solicit::http::client
The module contains a number of reusable components for implementing the client side of an HTTP/2 connection.
Modules
tls | The module contains helpers for implementing TLS-based client connections. |
Structs
CleartextConnectError | A newtype wrapping the |
CleartextConnector | A struct that establishes a cleartext TCP connection that can be used by an HTTP/2 connection. Defaults to using port 80. |
ClientConnection | The struct extends the |
ClientSession | An implementation of the |
ClientStream | A convenience wrapper type that represents an established client network transport stream. It wraps the stream itself, the scheme of the protocol to be used, and the remote host name. |
RequestStream | A struct representing a request stream. It provides the headers that are to be sent when
initiating the request, as well as a |
Traits
HttpConnect | A trait that can be implemented by structs that want to provide the functionality of establishing network connections for use by HTTP/2 connections. |
HttpConnectError | A marker trait for errors raised by attempting to establish an HTTP/2 connection. |
Functions
write_preface | Writes the client preface to the given |