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§
Sourcefn handle_disallowed_host(&self, scheme: &str, authority: &str)
fn handle_disallowed_host(&self, scheme: &str, authority: &str)
Called when a host is disallowed