pub async fn read_request<S>(
s: &mut S,
role: &str,
limits: &ProxyLimits,
) -> Result<ProxyRequest, ProxyError>Expand description
Read one request: head, then exactly Content-Length body bytes.
pub async fn read_request<S>(
s: &mut S,
role: &str,
limits: &ProxyLimits,
) -> Result<ProxyRequest, ProxyError>Read one request: head, then exactly Content-Length body bytes.