pub async fn forward_request(
upstream: &UpstreamClient,
url: &str,
method: Method,
headers: &HeaderMap,
body: &Bytes,
is_streaming: bool,
) -> Result<Response, Error>Expand description
Send a request to the upstream server, forwarding relevant headers.
When is_streaming is false, applies the configured request timeout.