[−][src]Function warp_reverse_proxy::reverse_proxy_filter
pub fn reverse_proxy_filter(
base_path: String,
proxy_address: String
) -> impl Filter<Extract = (Response<Bytes>,), Error = Rejection> + Clone
Reverse proxy filter: It forwards the request to the desired location. It maps one to one, meaning
that a request to https://www.bar.foo/handle/this/path forwarding to https://www.other.location
will result in a request to https://www.other.location/handle/this/path.