MCPcopy
hub / github.com/scrapy/scrapy / _getEndpoint

Method _getEndpoint

scrapy/core/downloader/handlers/http11.py:307–316  ·  view source on GitHub ↗
(self, uri: URI)

Source from the content-addressed store, hash-verified

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,

Callers 1

requestMethod · 0.80

Calls 1

Tested by

no test coverage detected