(self, method, uri, headers=None, bodyProducer=None)
return self._requestWithEndpoint(
            key=("http-proxy", self._proxyURI.host, self._proxyURI.port),
            endpoint=self._getEndpoint(self._proxyURI),
            method=method,
            parsedURI=URI.fromBytes(uri),
            headers=headers,
            bodyProducer=bodyProducer,
            requestPath=uri,
        )
Issue a new request via the configured proxy.
Issue a new request via the configured proxy.
Issue a new request via the configured proxy .
def request(self, method, uri, headers=None, bodyProducer=None):
        """
        Issue a new request via the configured proxy.
        """
        # Cache *all* connections under the same key, since we are only
        # connecting to a single destination, the proxy:
        return self._requestWithEndpoint(
            key=("http-proxy", self._proxyURI.host, self._proxyURI.port),
            endpoint=self._getEndpoint(self._proxyURI),
            method=method,
            parsedURI=URI.fromBytes(uri),
            headers=headers,
            bodyProducer=bodyProducer,
            requestPath=uri,
        )
def request ( self , method , uri , headers = None , bodyProducer = None ) : # Cache *all* connections under the same key, since we are only # connecting to a single destination, the proxy: return self . _requestWithEndpoint ( key = ( "http-proxy" , self . _proxyURI . host , self . _proxyURI . port ) , endpoint = self . _getEndpoint ( self . _proxyURI ) , method = method , parsedURI = URI . fromBytes ( uri ) , headers = headers , bodyProducer = bodyProducer , requestPath = uri , )