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