Custom transports, with nicely configured defaults.
The following additional keyword arguments are currently supported by httpcore...
Example usages...
# Disable HTTP/2 on a single specific domain. mounts = {
"all://": httpx.HTTPTransport(http2=True), "all://*example.org": httpx.HTTPTransport()
}
# Using advanced httpcore configuration, with connection retries. transport = httpx.HTTPTransport(retries=1) client = httpx.Client(transport=transport)
# Using advanced httpcore configuration, with unix domain sockets. transport = httpx.HTTPTransport(uds="socket.uds") client = httpx.Client(transport=transport)
Class | AsyncResponseStream |
Undocumented |
Class | ResponseStream |
Undocumented |
Function | map_httpcore_exceptions |
Undocumented |
Constant | A |
Undocumented |
Constant | HTTPCORE_EXC_MAP |
Undocumented |
Constant | T |
Undocumented |
Undocumented
Returns | |
typing.Iterator[ | Undocumented |
Undocumented
Value |
|