[][src]Crate shs

Easy-to-use non-async HTTP 1.1 server.

Structs

Request

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

StatusCode

HTTP response status codes.

Type Definitions

Handler

Handler function for a route.