You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTPX can work with programs that run under anyio, since it'll auto-detect the async environment and use the one set by anyio.
For maximum consistency, HTTPCore can be told to use anyio internally by passing backend="anyio" when instantiating a transport. (Related to Add HTTPTransport and AsyncHTTPTransport #1399)
The text was updated successfully, but these errors were encountered:
HTTPCore has support for
anyio
, but we don't document it yet: https://www.python-httpx.org/async/#supported-async-environmentsIMO there are two things to document:
anyio
, since it'll auto-detect the async environment and use the one set byanyio
.anyio
internally by passingbackend="anyio"
when instantiating a transport. (Related to AddHTTPTransport
andAsyncHTTPTransport
#1399)The text was updated successfully, but these errors were encountered: