Skip to main content

Crate lingxia_proxy

Crate lingxia_proxy 

Source

Structs§

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

Enums§

ProxyError
RouteDecision
The router’s verdict for a given target host.
UpstreamConfig
Where to send the tunnelled traffic.

Traits§

ProxyRouter
Pluggable routing policy. Implementations must be Send + Sync so the server can hold an Arc<dyn ProxyRouter>.