Expand description
Easy-to-use non-async HTTP 1.1 server.
Structs§
- Request
- Requirements for the Server Error type parameter. Request type passed to handlers. It provides both the input request and the output response, as well as access to state shared across requests.
- Server
- HTTP 1.1 server.
- Test
Request - Test request for calling Server::test_request.
- Test
Response - Response from calling Server::test_request.
Enums§
- Request
Error - Errors that can occur when dispatching an error to a handler.
- Status
Code - HTTP response status codes.
Type Aliases§
- Error
Handler - Error handler function.
- Handler
- Handler function for a route.