Module utils

Module utils 

Source
Expand description

util functions and structs

Re-exports§

pub use query_kv::QueryKvIter;

Modules§

fold_box_layers
query_kv
schema_port

Structs§

Authorization
Basic
Bearer
HostAndPort
PathIter
Snowflake
Reference

Enums§

StrExtractorKind
StrExtractorPartsKind

Traits§

XRequestIdAlgo
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 on PeerAddr
x_request_id
Add a x-request-id header to the request and then response.