Re-exports§
pub use error_pages::*;pub use hostname_radix_tree::*;pub use log_placeholders::*;pub use multi_cancel::*;pub use proxy_protocol::*;pub use tls::*;pub use url_sanitizer::*;
Modules§
- error_
pages 🔒 - hostname_
radix_ 🔒tree - log_
placeholders 🔒 - multi_
cancel 🔒 - proxy_
protocol 🔒 - tls 🔒
- url_
sanitizer 🔒
Structs§
- IpBlock
List - The IP blocklist
- Module
Cache - A highly optimized cache that stores modules according to server configuration
- Monoio
File Stream - A wrapper over Monoio’s
Filethat implements aStreamtrait. - Monoio
File Stream NoSpawn - A wrapper over Monoio’s
Filethat implements aStreamtrait and doesn’t spawn a background task. - NoServer
Verifier - A server certificate verifier that always returns a successful verification.
- Send
Async Io - SendAsyncIo is a wrapper around an AsyncRead or AsyncWrite that ensures that all operations are performed on the same thread.
- Send
RwStream - A wrapper over struct implementing Tokio’s
AsyncReadandAsyncWrite(no need for struct to beSend) that implementsStreamandSinktrait. - TtlCache
- A TTL cache
Constants§
- SERVER_
SOFTWARE - The web server software identifier
Functions§
- anti_
xss - Escapes some characters as HTML entities, preventing XSS vulnerabilities
- is_
localhost - Determines if the server configuration filter implies
localhost. - match_
hostname - Matches the request hostname against a configured hostname
- match_
location - Matches the request location against a configured location
- parse_
q_ value_ header - replace_
header_ placeholders - sizify
- Converts the file size into a human-readable one