3 from .request import RequestMethods
5 class PoolManager(RequestMethods):
7 connection_pool_kw: Any
9 def __init__(self, num_pools=..., headers=..., **connection_pool_kw) -> None: ...
10 def __enter__(self): ...
11 def __exit__(self, exc_type, exc_val, exc_tb): ...
13 def connection_from_host(self, host, port=..., scheme=...): ...
14 def connection_from_url(self, url): ...
15 # TODO: This was the original signature -- copied another one from base class to fix complaint.
16 # def urlopen(self, method, url, redirect=True, **kw): ...
17 def urlopen(self, method, url, body=..., headers=..., encode_multipart=..., multipart_boundary=..., **kw): ...
19 class ProxyManager(PoolManager):
22 def __init__(self, proxy_url, num_pools=..., headers=..., proxy_headers=..., **connection_pool_kw) -> None: ...
23 def connection_from_host(self, host, port=..., scheme=...): ...
24 # TODO: This was the original signature -- copied another one from base class to fix complaint.
25 # def urlopen(self, method, url, redirect=True, **kw): ...
26 def urlopen(self, method, url, body=..., headers=..., encode_multipart=..., multipart_boundary=..., **kw): ...
28 def proxy_from_url(url, **kw): ...