proxy_http

Function proxy_http 

Source
pub async fn proxy_http<B>(
    request: Request<B>,
    http_client: &Arc<dyn ClientHttp<B>>,
) -> Result<Response, Error>
Expand description

Proxies provided request to a given URL using ClientHttp trait object and returns Axum response