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
|
Transport
|
The pyqwest transport 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
|
SyncTransport
|
The pyqwest transport to delegate requests to. |
required |