Crate wcgi

Source
Expand description

Common abstractions for implementing WCGI servers.

Modules§

convert
header
HTTP header types

Structs§

Body
HeaderMap
A set of HTTP headers
Method
The Request Method (VERB)
StatusCode
An HTTP status code (status-code in RFC 9110 et al.).
StdWcgiError
Wrapper for WcgiError that implements std::error::Error;
Uri
The URI component of a request.
WcgiError

Traits§

RequestExt
WcgiHandler

Functions§

response_builder
serve_once
Serve http requests with the provided handler.

Type Aliases§

Request
Response
ResponseBuilder