Method
__init__
(self, base_url, unix_socket, timeout=60)
Source from the content-addressed store, hash-verified
| 13 | class UnixHTTPConnection(urllib3.connection.HTTPConnection): |
| 14 | |
| 15 | def __init__(self, base_url, unix_socket, timeout=60): |
| 16 | super().__init__( |
| 17 | 'localhost', timeout=timeout |
| 18 | ) |
| 19 | self.base_url = base_url |
| 20 | self.unix_socket = unix_socket |
| 21 | self.timeout = timeout |
| 22 | |
| 23 | def connect(self): |
| 24 | sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) |
Callers
nothing calls this directly
Tested by
no test coverage detected