pub fn connect_service<T, S>(svc: T) -> MethodRouter<S, T::Error>Expand description
Route CONNECT requests to the given service.
See MethodFilter::CONNECT for when you’d want to use this,
and get_service for an example.
pub fn connect_service<T, S>(svc: T) -> MethodRouter<S, T::Error>Route CONNECT requests to the given service.
See MethodFilter::CONNECT for when you’d want to use this,
and get_service for an example.