pub struct ReverseProxyMiddleware;
Expand description
A BeforeMiddleware
which checks common X-Forwarded-*
headers and applies them to the request URL.
Trait Implementations§
Source§impl BeforeMiddleware for ReverseProxyMiddleware
impl BeforeMiddleware for ReverseProxyMiddleware
Auto Trait Implementations§
impl Freeze for ReverseProxyMiddleware
impl RefUnwindSafe for ReverseProxyMiddleware
impl Send for ReverseProxyMiddleware
impl Sync for ReverseProxyMiddleware
impl Unpin for ReverseProxyMiddleware
impl UnwindSafe for ReverseProxyMiddleware
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more