[−][src]Crate shs
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. |
TestRequest | Test request for calling Server::test_request. |
TestResponse | Response from calling Server::test_request. |
Enums
RequestError | Errors that can occur when dispatching an error to a handler. |
StatusCode | HTTP response status codes. |
Type Definitions
ErrorHandler | Error handler function. |
Handler | Handler function for a route. |