[−][src]Module solicit::http::session
Defines the interface for the session-level management of HTTP/2 communication. This is effectively an API that allows hooking into an HTTP/2 connection in order to handle events arising on the connection.
The module also provides a default implementation for some of the traits.
Structs
Client | A phantom type for the |
DefaultSessionState | An implementation of the |
DefaultStream | An implementation of the |
Server | A phantom type for the |
StreamIter | A newtype for an iterator over |
Enums
StreamDataChunk | The enum represents the successful completion of the |
StreamDataError | The enum represents errors that can be returned from the |
StreamState | The enum represents all the states that an HTTP/2 stream can be found in. |
Traits
Session | A trait that defines the interface between an |
SessionState | A trait defining a set of methods for accessing and influencing an HTTP/2 session's state. |
Stream | A trait representing a single HTTP/2 stream. An HTTP/2 connection multiplexes a number of streams. |
Functions
default_client_state | Create a new |
default_server_state | Create a new |