pub fn http_proxy_service_with_name<SV>(
conf: &Arc<ServerConf>,
inner: SV,
name: &str,
) -> Service<HttpProxy<SV>>where
SV: ProxyHttp,
Expand description
Create a Service from the user implemented ProxyHttp.
The returned Service can be hosted by a pingora_core::server::Server directly.