pub struct Manager { /* private fields */ }
Available on crate feature reverse-proxy only.

Implementations

Consider using static_connection if your connection type is not dependent of the request.

Disables the built-in feature of rewriting the relative URLs so they point to the forwarded site.

Set the priority of the extension. The default is -128.

Add a function to run before the request is sent. These are ran in the order they are added in.

Add a modify fn which adds the IP of the request as the header x-real-ip.

Consider using static_connection if your connection type is not dependent of the request.

Attach this reverse proxy to extensions.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.