HTTPX Adapters
pyqwest.httpx.AsyncPyqwestTransport
Bases: AsyncBaseTransport
An HTTPX transport implementation that delegates to pyqwest.
This can be used with any existing code using httpx.AsyncClient, and will enable use of bidirectional streaming and response trailers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
transport
|
HTTPTransport
|
The pyqwest HTTPTransport to delegate requests to. |
required |
pyqwest.httpx.PyqwestTransport
Bases: BaseTransport
An HTTPX transport implementation that delegates to pyqwest.
This can be used with any existing code using httpx.Client, and will enable use of bidirectional streaming and response trailers.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
transport
|
SyncHTTPTransport
|
The pyqwest HTTPTransport to delegate requests to. |
required |