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 proxy::Proxy;pub use proxy::ProxyConfig;pub use proxy::ProxyMode;
Modules§
Structs§
- Capturing
Handler - Default handler that captures request/response pairs and emits
ProxyEvents. - Http
Context - Metadata about the incoming connection.
Enums§
- Request
OrResponse - Returned by
HttpHandler::handle_requestto either forward or short-circuit.
Traits§
- Http
Handler - Trait for intercepting and modifying proxied HTTP traffic.