HTTPX¶
Support for HTTPX client – requires combadge[httpx]
extra.
Sync¶
Sync HTTPX backend.
Source code in combadge/support/httpx/backends/sync.py
__init__ ¶
Instantiate the backend.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client
|
Client
|
required | |
raise_for_status
|
bool
|
automatically call |
True
|
Source code in combadge/support/httpx/backends/sync.py
Async¶
Async HTTPX backend.
Source code in combadge/support/httpx/backends/async_.py
__init__ ¶
Instantiate the backend.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
client
|
AsyncClient
|
required | |
raise_for_status
|
bool
|
automatically call |
True
|