Method
__init__
(self, base_url, socket_path, timeout=60, maxsize=10)
Source from the content-addressed store, hash-verified
| 29 | |
| 30 | class UnixHTTPConnectionPool(urllib3.connectionpool.HTTPConnectionPool): |
| 31 | def __init__(self, base_url, socket_path, timeout=60, maxsize=10): |
| 32 | super().__init__( |
| 33 | 'localhost', timeout=timeout, maxsize=maxsize |
| 34 | ) |
| 35 | self.base_url = base_url |
| 36 | self.socket_path = socket_path |
| 37 | self.timeout = timeout |
| 38 | |
| 39 | def _new_conn(self): |
| 40 | return UnixHTTPConnection( |
Callers
nothing calls this directly
Tested by
no test coverage detected