Skip to main content

Module proxy

Module proxy 

Source
Expand description

Client-side onion proxy planning.

This module is runtime-neutral: native can bind it to a local HTTP CONNECT listener, while browser callers can use the same target and service mapping before handing requests to a browser-specific adapter. A proxy configuration is target-agnostic; each request supplies its own target authority.

Re-exports§

pub use crate::onion::OnionProxyTarget;

Modules§

http
Native HTTP CONNECT ingress for onion proxy clients.

Structs§

OnionProxyConfig
Target-agnostic onion proxy configuration.
OnionProxyRoute
A proxy route selected for a target.

Enums§

OnionProxyProtocol
Proxy protocol requested by the client ingress.

Constants§

ONION_PROXY_HTTPS_SERVICE
Exit service used by HTTPS proxying over a TCP-backed onion exit.
ONION_PROXY_TCP_SERVICE
Exit service used by native HTTP CONNECT/SOCKS-style byte tunnels.