Expand description
util functions and structs
Re-exports§
pub use query_kv::QueryKvIter;
Modules§
Structs§
Enums§
Traits§
- XRequest
IdAlgo - Generate a
x-request-id
header for the request and response.
Functions§
- dump
- Dump the request body.
- h2_
downgrade - never
- Map any type to any type, but this function should be never called.
- req_
length_ or_ chunked - Set the content length header or transfer encoding to chunked for Request.
- with_
length_ or_ chunked - Set the content length header or transfer encoding to chunked for Response.
- x_
forwarded_ for - Add
x-forwarded-for
for request, based onPeerAddr
- x_
request_ id - Add a
x-request-id
header to the request and then response.