Module poem::web[][src]

Expand description

Commonly used as the type of extractor or response.

Modules

cookiecookie

Cookie related types.

Typed HTTP Headers

ssesse

Server-Sent Events (SSE) types.

websocketwebsocket

Websocket extractor and response.

Structs

Compresscompression

Compress the response body with the specified algorithm and set the Content-Encoding header.

An extractor that can extract data from the request extension.

Fieldmultipart

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.

Multipartmultipart

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.

The body parameter type of FromRequest::from_request method.

TempFiletempfile

An extractor that extracts the body and writes the contents to a temporary file.

Template response using askama.

An extractor that extracts a typed header value.

Returned by with_body method.

Returned by with_header method.

Returned by with_header method.

Enums

CompressionAlgocompression

The compression algorithms.

Remote peer’s address.

Traits

Represents an type that can be extract from requests.

Represents a type that can convert into response.