pub fn connect<H, T, S>(handler: H) -> MethodRouter<S, Infallible>Expand description
Route CONNECT requests to the given handler.
See MethodFilter::CONNECT for when you’d want to use this,
and get for an example.
pub fn connect<H, T, S>(handler: H) -> MethodRouter<S, Infallible>Route CONNECT requests to the given handler.
See MethodFilter::CONNECT for when you’d want to use this,
and get for an example.