hickory_proto::http::request

Function verify

Source
pub fn verify<T>(
    version: Version,
    name_server: Option<&str>,
    query_path: &str,
    request: &Request<T>,
) -> Result<()>
Available on crate features dns-over-https-rustls or dns-over-h3 only.
Expand description

Verifies the request is something we know what to deal with