Skip to main content

Module proxy_auth

Module proxy_auth 

Available on crate features http and std only.
Expand description

Middleware that validates if a request has the appropriate Proxy Authorisation.

If the request is not authorized a 407 Proxy Authentication Required response will be sent. Authorized credentials are consumed before forwarding by default. Use ProxyAuthLayer::with_preserve_header only for an explicitly cooperative proxy chain.

Structs§

ProxyAuthLayer
Layer that applies the ProxyAuthService middleware which apply a timeout to requests.
ProxyAuthService
Middleware that validates if a request has the appropriate Proxy Authorisation.