Requests · Class
HTTPAdapter
HTTPAdapter is Requests' built-in transport adapter for HTTP and HTTPS. Mount it on a Session to control connection pools, retries, and service-specific transport behavior.
Last updated
- Since
- 1.0.0
Syntax
HTTPAdapter(pool_connections=10, pool_maxsize=10, max_retries=0, pool_block=False)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
BaseAdapterSessionRetryPoolManagerTransport AdaptersStreaming Requests