Skip to main content

Module middleware

Module middleware 

Source
Expand description

The ProxyMiddleware trait — the core extension point for the proxy engine.

Traits§

CostRecorder
Post-response cost recording hook.
ProxyMiddleware
The central extension trait for agent-proxy-rust.

Functions§

run_on_request_chain
Runs the on_request chain in registration order.
run_on_response_chain
Runs the on_response chain in reverse registration order.