AsyncClient
Class Attributes
| Attribute | Type | Default |
|---|---|---|
context_id | str | None | context_id |
Methods
Constructor · __init__
Constructor · __init__
Parameters
Returns:
| Name | Type | Default |
|---|---|---|
context_id | str | None | None |
auth_token | str | Secret[str] | None | None |
auth | AuthTypes | None | None |
params | QueryParamTypes | None | None |
headers | HeaderTypes | None | None |
cookies | CookieTypes | None | None |
verify | SSLContext | str | bool | True |
cert | CertTypes | None | None |
http1 | bool | True |
http2 | bool | False |
proxy | ProxyTypes | None | None |
mounts | None | Mapping[str, AsyncBaseTransport | None] | None |
timeout | TimeoutTypes | DEFAULT_SDK_TIMEOUT |
follow_redirects | bool | False |
limits | Limits | DEFAULT_LIMITS |
max_redirects | int | DEFAULT_MAX_REDIRECTS |
event_hooks | None | Mapping[str, list[EventHook]] | None |
base_url | URL | str | '' |
transport | AsyncBaseTransport | None | None |
trust_env | bool | True |
default_encoding | str | typing.Callable[[bytes], str] | 'utf-8' |
None