Skip to main content

Module layers

Module layers 

Source

StructsΒ§

Handle πŸ”’
HandleLayer πŸ”’
Bespoke axum::middleware::from_fn: threading the handler’s future type through F spares 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 πŸ”’