Expand description
Configures incoming HTTP requests, listeners, and response compression.
Listener settings select TCP addresses, ports, and UNIX sockets. Request limits, proxy address sources, and compression apply to inbound traffic.
Re-exportsยง
use std::collections::BTreeSet;๐use std::path::PathBuf;๐use either::Either::Left;๐use ipnet::IpNet;๐use serde::Deserialize;๐use serde::Deserialize;๐use tuwunel_macros::config_example_generator;๐use super::IpSource;๐use super::deserialize_bytesize_usize;๐use super::net::ListeningAddr;๐use super::net::ListeningPort;๐
Structsยง
- Compression
- Response compression
- Http
- HTTP listener
- Listen
- Listening addresses, ports and Unix socket
Constantsยง
- TUWUNEL_
CONFIG_ ๐SECTION_ COMPRESSION - TUWUNEL_
CONFIG_ ๐SECTION_ HTTP - TUWUNEL_
CONFIG_ ๐SECTION_ LISTEN
Functionsยง
- default_
max_ ๐request_ size - default_
port ๐ - default_
receive_ ๐timeout - default_
request_ ๐timeout - default_
response_ ๐timeout - default_
shutdown_ ๐timeout - default_
unix_ ๐socket_ perms