Skip to main content

proxy

Function proxy 

Source
pub async fn proxy(
    url: Url,
    request: Request,
    http_client: &Arc<dyn Client>,
) -> Result<Response, Error>
Expand description

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