proxy_http_request

Function proxy_http_request 

Source
pub async fn proxy_http_request(
    http_client: &Client,
    url: Url,
) -> Result<Response<Body>, ProxyError>
Expand description

Proxies an HTTP request to the Pocket Relay server returning a hyper response that can be served

ยงArguments

  • http_client - The HTTP client to connect with
  • url - The server URL to request