Skip to main content

route

Function route 

Source
pub fn route(req: &Request) -> Route<'_>
Expand description

Classifies a request by method and :protocol.

The pseudo-header is read straight off the Request, as the tunnels read every other field of one (D78). It used to arrive through a classifier in crate::h3api, but that enum was this one’s three variants under other names and existed only to be translated into them on the next line.