Skip to main content

answer

Function answer 

Source
fn answer(
    target: &str,
    upstream: Response,
    held: InFlight,
) -> Result<Response, ApiError>
Expand description

A successful answer, streamed back under MAX_PROXIED_RESPONSE.

held goes with the body, so the call counts as open until its last byte is sent or the body is dropped.