Skip to main contentCrate lingxia_proxy
Source - FixedRouter
- Always routes to the same upstream (or direct).
- LocalProxy
- A local HTTP CONNECT proxy.
- Profile
- A named routing profile, similar to a SwitchyOmega profile.
- ProfileRouter
- Routes based on a list of named profiles, with one active at a time.
Falls back to
Direct when no profile is active. - Socks5Credentials
- ProxyError
- RouteDecision
- The router’s verdict for a given target host.
- UpstreamConfig
- Where to send the tunnelled traffic.
- ProxyRouter
- Pluggable routing policy. Implementations must be
Send + Sync so the
server can hold an Arc<dyn ProxyRouter>.