Expand description
Commonly used as the type of extractor or response.
Modules§
- cookie
cookie
Cookie related types. - Typed HTTP Headers
- sse
sse
Server-Sent Events (SSE) types. - websocket
websocket
Websocket extractor and response.
Structs§
Accept
header, defined in RFC7231- Compress the response body with the specified algorithm and set the
Content-Encoding
header. - A CSRF Token for the next request.
- A verifier for CSRF Token.
- An extractor that can extract data from the request extension.
- A single field in a multipart stream.
- An extractor that can deserialize some type from query string or body.
- An HTML response.
- JSON extractor and response.
- Local server’s address.
- 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.
- An extractor that can extracts the real ip from request headers
- A redirect response.
- Remote peer’s address.
- The body parameter type of
FromRequest::from_request
method. - An extractor for responding static files.
- 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_body
method. - Returned by
with_content_type
method. - Returned by
with_header
method. - Returned by
with_header
method. - XML extractor and response.
- JSON extractor and response.
Enums§
- The compression algorithms.
- Level of compression data should be compressed with.
- A response for static file extractor.
Traits§
- Represents an type that can be extract from requests.
- Represents a type that can convert into response.