Skip to main content

Crate proxyapi

Crate proxyapi 

Source
Expand description

proxyapi — core library for the Proxelar MITM proxy.

Provides HTTP/HTTPS forward and reverse proxy functionality with request/response interception via the HttpHandler trait.

Re-exports§

pub use error::Error;
pub use event::ProxyEvent;
pub use intercept::InterceptConfig;
pub use intercept::InterceptDecision;
pub use proxy::Proxy;
pub use proxy::ProxyConfig;
pub use proxy::ProxyMode;

Modules§

body
ca
error
event
intercept
proxy

Structs§

CapturingHandler
Default handler that captures request/response pairs and emits ProxyEvents.
HttpContext
Metadata about the incoming connection.

Enums§

RequestOrResponse
Returned by HttpHandler::handle_request to either forward or short-circuit.

Traits§

HttpHandler
Trait for intercepting and modifying proxied HTTP traffic.