Module poem::web [−][src]
Expand description
Commonly used as the type of extractor or response.
Modules
cookie
Cookie related types.
Typed HTTP Headers
sse
Server-Sent Events (SSE) types.
websocket
Websocket extractor and response.
Structs
compression
Compress the response body with the specified algorithm and set the
Content-Encoding
header.
An extractor that can extract data from the request extension.
multipart
A single field in a multipart stream.
An extractor that can deserialize some type from query string or body.
An HTML response.
Template response with content-type “text/html” using askama
.
JSON extractor and response.
Local server’s address.
multipart
An extractor that parses multipart/form-data
requests commonly used with
file uploads.
An extractor that will get captures from the URL and parse them using
serde
.
An extractor that can deserialize some type from query string.
A redirect response.
Remote peer’s address.
The body parameter type of FromRequest::from_request
method.
tempfile
An extractor that extracts the body and writes the contents to a temporary file.
An extractor that extracts a typed header value.
Returned by with_header
method.
Returned by with_header
method.
Enums
compression
The compression algorithms.
Traits
Represents an type that can be extract from requests.
Represents a type that can convert into response.