StructsΒ§
- Handle π
- Handle
Layer π - Bespoke
axum::middleware::from_fn: threading the handlerβs future type throughFspares the boxes the generic middleware allocates per request.
ConstantsΒ§
- TUWUNEL_
CSP π
FunctionsΒ§
- body_
limit_ πlayer - build π
- catch_
panic π - compression_
layer π - cors_
layer π - html_
layer π - ip_
source_ πlayer - request_
path_ πstr - set_
html_ πheaders - Denies framing and foreign scripts for a response that is HTML.
- tracing_
span π - truncated_
matched_ πpath - trusted_
peer_ πsubnets_ layer
Type AliasesΒ§
- Convert π