_HttpxTransport
Index
Async Resource Clients
Methods
Async Resource Clients
handle_async_request
Parameters
request: httpx2.Request
Returns httpx2.Response
Methods
__init__
Initialize a new instance. Extra arguments are passed to
httpx2.AsyncHTTPTransport.Parameters
keyword-onlypersist_cookies_per_session: bool
kwargs: Any
Returns None
HTTP transport adapter that keeps cookies in a
Sessioninstead of in theHTTPX2client.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.