Structs§
- Retry
Config - Configuration for retry behavior
Constants§
- DEFAULT_
BACKOFF_ MULTIPLIER - DEFAULT_
INITIAL_ BACKOFF_ MS - DEFAULT_
MAX_ BACKOFF_ MS - DEFAULT_
MAX_ RETRIES - Default retry configuration
- MAX_
SSE_ BUFFER_ SIZE - Maximum buffer size for SSE streaming (16MB)
Functions§
- send_
json - Send a JSON request and parse the response.
- send_
json_ once - Execute a request once without retries.
- send_
json_ with_ retry - Send a JSON request with custom retry configuration.
- with_
retry - Helper to execute a request-building closure with retry logic.