Skip to main content

handle_http_request

Function handle_http_request 

Source
async fn handle_http_request<R, S>(
    request: Request<Incoming>,
    context: &ProxyContext<R>,
    listener_isolation: (usize, IpAddr),
) -> Result<Response<String>, Error>
where R: Runtime, S: AsyncRead + AsyncWrite + Send + Sync + Unpin + 'static,
Expand description

Handle a single HTTP request.

This function is invoked by hyper.