Skip to main content

forward_request_stream

Function forward_request_stream 

Source
pub async fn forward_request_stream(
    stream: &mut BoxStream,
) -> Result<ForwardRequest, HttpError>
Expand description

Read and parse an HTTP forward request from an existing stream.

Unlike forward_request, this borrows the stream rather than consuming it, enabling persistent-session loops.