DisallowedHostHandler

Trait DisallowedHostHandler 

Source
pub trait DisallowedHostHandler: Send + Sync {
    // Required method
    fn handle_disallowed_host(&self, scheme: &str, authority: &str);
}
Expand description

A trait for handling disallowed hosts

Required Methods§

Source

fn handle_disallowed_host(&self, scheme: &str, authority: &str)

Called when a host is disallowed

Implementors§