(self, npipe_path, timeout=60)
| 13 | |
| 14 | class NpipeHTTPConnection(urllib3.connection.HTTPConnection): |
| 15 | def __init__(self, npipe_path, timeout=60): |
| 16 | super().__init__( |
| 17 | 'localhost', timeout=timeout |
| 18 | ) |
| 19 | self.npipe_path = npipe_path |
| 20 | self.timeout = timeout |
| 21 | |
| 22 | def connect(self): |
| 23 | sock = NpipeSocket() |