HTTPX · Class
URL
HTTPX Client sends HTTP requests with reusable settings and connection pooling. Use Client for repeated synchronous requests, or AsyncClient with await in asynchronous code.
Last updated
Syntax
httpx.Client(...)
httpx.AsyncClient(...)
client.request(method, url, ...)
client.stream(method, url, ...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
httpx.requesthttpx.streamhttpx.AsyncClientClient.build_requestClient.sendResponse.acloseResponse.aiter_bytes