class documentation

class ScrapyH2Agent:

View In Hierarchy

Undocumented

Static Method ​_cb​_latency Undocumented
Static Method ​_cb​_timeout Undocumented
Method __init__ Undocumented
Method ​_get​_agent Undocumented
Method download​_request Undocumented
Instance Variable ​_bind​_address Undocumented
Instance Variable ​_connect​_timeout Undocumented
Instance Variable ​_context​_factory Undocumented
Instance Variable ​_crawler Undocumented
Instance Variable ​_pool Undocumented
@staticmethod
def _cb_latency(response, request, start_time):

Undocumented

Parameters
response:ResponseUndocumented
request:RequestUndocumented
start​_time:floatUndocumented
Returns
ResponseUndocumented
@staticmethod
def _cb_timeout(response, request, timeout, timeout_cl):

Undocumented

Parameters
response:ResponseUndocumented
request:RequestUndocumented
timeout:floatUndocumented
timeout​_cl:DelayedCallUndocumented
Returns
ResponseUndocumented
def __init__(self, context_factory, pool, connect_timeout=10, bind_address=None, crawler=None):

Undocumented

Parameters
context​_factoryUndocumented
pool:H2ConnectionPoolUndocumented
connect​_timeout:intUndocumented
bind​_address:Optional[bytes]Undocumented
crawler:Optional[Crawler]Undocumented
def _get_agent(self, request, timeout):

Undocumented

Parameters
request:RequestUndocumented
timeout:Optional[float]Undocumented
Returns
H2AgentUndocumented
def download_request(self, request, spider):

Undocumented

Parameters
request:RequestUndocumented
spider:SpiderUndocumented
Returns
DeferredUndocumented
_bind_address =

Undocumented

_connect_timeout =

Undocumented

_context_factory =

Undocumented

_crawler =

Undocumented

_pool =

Undocumented