[][src]Module solicit::http::server

The module contains a number of reusable components for implementing the server side of an HTTP/2 connection.

Structs

ServerConnection

The struct provides a more convenient API for server-related functionality of an HTTP/2 connection, such as sending a response back to the client.

ServerSession

An implementation of the Session trait for a server-side HTTP/2 connection.

Traits

StreamFactory

The ServerSession requires an instance of a type that implements this trait in order to create a new Stream instance once it detects that a client has initiated a new stream. The factory should take care to provide an appropriate Stream implementation that will be able to handle reading the request and generating the response, according to the needs of the underlying application.