kvarn

Module application

source
Expand description

Abstractions for the application layer, providing a common interface for all HTTP versions supported.

You should not have to interface with this module. Use handle_connection instead.

The main types are HttpConnection, representing a single encrypted generic http connection.

When accepting on the HttpConnection, you get a FatRequest; a http::Request with a Body. The Body is a stream providing the body of the request if you need it, to avoid unnecessary allocations.

Structs§

Enums§