Skip to main content

proxy_request

Function proxy_request 

Source
pub async fn proxy_request(
    runtime: &HttpRuntime,
    upstream: &Url,
    method: &Method,
    uri: &Uri,
    headers: &HeaderMap,
    body_bytes: &[u8],
    matched: &MatchedOperation<'_>,
) -> Response
Expand description

Proxy a request to the upstream server and validate the response.