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_
LOG_ BODY_ SIZE_ LIMIT_ BYTES - Default maximum body bytes included in TRACE log previews.
- DEFAULT_
READ_ TIMEOUT_ SECS - Default read timeout in seconds.
- DEFAULT_
SENSITIVE_ HEADER_ NAMES - Built-in header names preloaded into
crate::SensitiveHeaders::defaultfor log masking. - 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.
- SENSITIVE_
HEADER_ MASK_ EDGE_ CHARS - How many characters to keep visible at the start and end when masking longer values.
- SENSITIVE_
HEADER_ MASK_ PLACEHOLDER - Replacement string for fully masked or middle segments of sensitive header values.
- SENSITIVE_
HEADER_ MASK_ SHORT_ LEN - Values with at most this many characters are fully replaced by
SENSITIVE_HEADER_MASK_PLACEHOLDER.