Re-exportsยง
use std::net::IpAddr;๐use std::net::SocketAddr;๐use std::ops::Deref;๐use std::sync::Arc;๐use std::sync::LazyLock;๐use std::time::Duration;๐use bytes::Bytes;๐use bytes::BytesMut;๐use ipaddress::IPAddress;๐use ipaddress::ipv4::from_u32 as ipv4_from_u32;๐use reqwest::Client;๐use reqwest::ClientBuilder;๐use reqwest::Url;๐use reqwest::dns::Resolve;๐use reqwest::header::HeaderValue;๐use reqwest::redirect::Policy;๐use tuwunel_core::Config;๐use tuwunel_core::Err;๐use tuwunel_core::Result;๐use tuwunel_core::config::proxy::ProxySnapshot;๐use tuwunel_core::debug;๐use tuwunel_core::debug;๐use tuwunel_core::either::Either;๐use tuwunel_core::err;๐use tuwunel_core::error::error_chain;๐use tuwunel_core::implement;๐use tuwunel_core::trace;๐use tuwunel_core::utils::math::u64_from_usize_saturating;๐use url::Host;๐use crate::Services;๐use crate::resolver::Validating;๐use crate::service;๐
Structsยง
- Clients
- The outbound HTTP clients, one per purpose.
- Federation
- Separate DNS resolvers and connection pools for direct and SRV routes.
- Service
Functionsยง
- appservice_
builder ๐ - appservice_
resolver ๐ - base ๐
- builder_
interface ๐ - guarded_
redirect ๐ - ipaddress_
from_ ๐std - make_
appservice_ ๐unix - make_
clients ๐ - make_
federation ๐ - preview_
builder ๐ - Construction for the URL preview client: bound to the configured interface and resolving through the CIDR-validating resolver.
- probe_
tls ๐ - Fails startup when an HTTPS client cannot be constructed.
- read_
response_ capped - Prevents a remote peer from forcing unbounded response-body allocation.
- valid_
cidr_ ๐range_ ip - Checks an address against a CIDR denylist.
- valid_
cidr_ ๐range_ url
Type Aliasesยง
- Disable
Encoding ๐