Module rouille::input
[−]
[src]
Analyze the request's headers and body.
This module provides functions and sub-modules that allow you to easily analyze or parse the request's headers and body.
- In order to parse JSON, see the
json
module. - In order to parse input from HTML forms, see the
post
module. - In order to read a plain text body, see
the
plain_text_body
function.
Reexports
pub use self::json::json_input; |
Modules
json |
Parsing JSON data in the body of a request. |
multipart |
Parsing data sent with |
post |
Parsing data sent with a |
Structs
CookiesIter |
Iterator that returns the list of cookies of a request. |
HttpAuthCredentials |
Credentials returned by |
PriorityHeaderIter |
Iterator to the elements of a priority header. |
Functions
basic_http_auth |
Attempts to parse a |
cookies |
Attempts to parse the list of cookies from the request. |
parse_priority_header |
Parses the value of a header that has values with priorities. Suitable for
|
plain_text_body |
Read plain text data from the body of a request. |
plain_text_body_with_limit |
Reads plain text data from the body of a request. |
priority_header_preferred |
Returns the preferred value amongst a priority header. |