class documentation

class H2Agent:

Known subclasses: scrapy.core.http2.agent.ScrapyProxyH2Agent

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method get​_endpoint Undocumented
Method get​_key Arguments: uri - URI obtained directly from request URL
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, pool, context_factory=BrowserLikePolicyForHTTPS(), connect_timeout=None, bind_address=None):

Undocumented

Parameters
reactor:ReactorBaseUndocumented
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):
Arguments:
uri - URI obtained directly from request URL
Parameters
uri:URIUndocumented
Returns
TupleUndocumented
def request(self, request, spider):

Undocumented

Parameters
request:RequestUndocumented
spider:SpiderUndocumented
Returns
DeferredUndocumented
_context_factory =

Undocumented

_pool =

Undocumented

_reactor =

Undocumented

endpoint_factory =

Undocumented