MCPcopy
hub / github.com/scrapy/scrapy / data_received

Method data_received

scrapy/core/http2/protocol.py:407–413  ·  view source on GitHub ↗
(self, event: DataReceived)

Source from the content-addressed store, hash-verified

405 )
406
407 def data_received(self, event: DataReceived) -> None:
408 try:
409 stream = self.streams[event.stream_id]
410 except KeyError:
411 pass # We ignore server-initiated events
412 else:
413 stream.receive_data(event.data, event.flow_controlled_length)
414
415 def response_received(self, event: ResponseReceived) -> None:
416 try:

Callers 1

_handle_eventsMethod · 0.95

Calls 1

receive_dataMethod · 0.80

Tested by

no test coverage detected