Expand description
Crate-wide defaults and fixed tuning values for HTTP client behavior and logging.
Constantsยง
- DEFAULT_
CONNECT_ TIMEOUT_ SECS - Default connect timeout in seconds.
- DEFAULT_
ERROR_ RESPONSE_ PREVIEW_ LIMIT_ BYTES - Default maximum bytes included in non-success response body previews on
crate::HttpError. - DEFAULT_
LOG_ BODY_ SIZE_ LIMIT_ BYTES - Default maximum body bytes included in TRACE log previews.
- DEFAULT_
READ_ TIMEOUT_ SECS - Default read timeout in seconds.
- DEFAULT_
SSE_ MAX_ FRAME_ BYTES - Default maximum bytes allowed for one SSE frame (between blank lines) before raising a protocol error.
- DEFAULT_
SSE_ MAX_ LINE_ BYTES - Default maximum bytes allowed for a single SSE line before raising a protocol error.
- DEFAULT_
WRITE_ TIMEOUT_ SECS - Default write timeout in seconds.