HostHeaderGetter

Type Alias HostHeaderGetter 

Source
pub type HostHeaderGetter = Box<dyn Fn(&Uri, &Request, &Depot) -> Option<String> + Send + Sync + 'static>;
Expand description

Host header getter. You can use this to get the host header for the proxied request.

Aliased Typeยง

pub struct HostHeaderGetter(/* private fields */);