Expand description
The HTTP primitives. Request and Response are thin wrappers around
hyper’s types that carry a typed context and a few conveniences.
Structs§
- Context
- A per-request typed store. Middleware attaches things here (the authenticated user, the DB handle, etc.) and handlers read them.
- Form
Data - Parsed form body (application/x-www-form-urlencoded) or query string. Values are owned so handlers can move them into DB calls freely.
- Request
- Response
- An outbound HTTP response.