Module kvarn::source ·
Abstractions for the application layer, providing a common interface for all HTTP versions supported.
You should not have to interface with this module. Use
The main types are
HttpConnection, representing a single encrypted generic http connection.
When accepting on the
HttpConnection, you get a
http::Request with a
Body is a stream providing the body of the request if you need it, to avoid unnecessary allocations.
- The data for
- A HTTP/1 body.
- A body of a
- General error for application-level logic.
- A single HTTP connection.
ResponsePipe-like for a pushed request-response pair.
- A pipe to send a body after the
Responseis sent by
- A pipe to send a