_HttpxTransport
Index
Async Resource Clients
Methods
Async Resource Clients
handle_async_request
Parameters
request: httpx.Request
Returns httpx.Response
Methods
__init__
Initialize a new instance. Extra arguments are passed to
httpx.AsyncHTTPTransport.Parameters
keyword-onlypersist_cookies_per_session: bool
kwargs: Any
Returns None
HTTP transport adapter that keeps cookies in a
Sessioninstead of in theHTTPXclient.Response cookies are stored in the session when
persist_cookies_per_sessionis enabled, and theCookieheader is rebuilt from it before every hop, so one client can be shared by all sessions. ACookieheader passed by the caller wins for as long as the redirect chain stays on its origin.