Skip to main content

NON_STREAMING_REQUEST_TIMEOUT

Constant NON_STREAMING_REQUEST_TIMEOUT 

Source
pub const NON_STREAMING_REQUEST_TIMEOUT: Duration;
Expand description

Total deadline for a single request/response exchange, for callers that do not set their own. Never apply it to a streaming request: reqwest counts it until the response body has finished, so it would cut off a long but healthy stream.