Function pingora_proxy::http_proxy_service_with_name

source ยท
pub fn http_proxy_service_with_name<SV>(
    conf: &Arc<ServerConf>,
    inner: SV,
    name: &str
) -> Service<HttpProxy<SV>>
Expand description

Create a Service from the user implemented ProxyHttp.

The returned Service can be hosted by a pingora_core::server::Server directly.