class documentation

class ScrapyProxyH2Agent(H2Agent):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method get​_endpoint Undocumented
Method get​_key We use the proxy uri instead of uri obtained from request url
Instance Variable ​_proxy​_uri Undocumented

Inherited from H2Agent:

Method request Undocumented
Instance Variable ​_context​_factory Undocumented
Instance Variable ​_pool Undocumented
Instance Variable ​_reactor Undocumented
Instance Variable endpoint​_factory Undocumented
def __init__(self, reactor, proxy_uri, pool, context_factory=BrowserLikePolicyForHTTPS(), connect_timeout=None, bind_address=None):

Undocumented

Parameters
reactor:ReactorBaseUndocumented
proxy​_uri:URIUndocumented
pool:H2ConnectionPoolUndocumented
context​_factory:BrowserLikePolicyForHTTPSUndocumented
connect​_timeout:Optional[float]Undocumented
bind​_address:Optional[bytes]Undocumented
def get_endpoint(self, uri):

Undocumented

Parameters
uri:URIUndocumented
def get_key(self, uri):
We use the proxy uri instead of uri obtained from request url
Parameters
uri:URIUndocumented
Returns
TupleUndocumented
_proxy_uri =

Undocumented