(self, uri: URI)
| 305 | self._contextFactory: IPolicyForHTTPS = contextFactory |
| 306 | |
| 307 | def _getEndpoint(self, uri: URI) -> _TunnelingTCP4ClientEndpoint: |
| 308 | return _TunnelingTCP4ClientEndpoint( |
| 309 | reactor=self._reactor, |
| 310 | host=uri.host, |
| 311 | port=uri.port, |
| 312 | proxyConf=self._proxyConf, |
| 313 | contextFactory=self._contextFactory, |
| 314 | timeout=self._endpointFactory._connectTimeout, |
| 315 | bindAddress=self._endpointFactory._bindAddress, |
| 316 | ) |
| 317 | |
| 318 | def _requestWithEndpoint( |
| 319 | self, |
no test coverage detected