MCPcopy Create free account
hub / github.com/aio-libs/aiohttp / feed_data

Method feed_data

aiohttp/streams.py:747–752  ·  view source on GitHub ↗
(self, data: _T, size: int = 0)

Source from the content-addressed store, hash-verified

745 self._limit = limit * 2
746
747 def feed_data(self, data: _T, size: int = 0) -> None:
748 super().feed_data(data, size)
749 self._size += size
750
751 if self._size > self._limit and not self._protocol._reading_paused:
752 self._protocol.pause_reading()
753
754 async def read(self) -> _T:
755 if not self._buffer and not self._eof:

Callers

nothing calls this directly

Calls 2

feed_dataMethod · 0.45
pause_readingMethod · 0.45

Tested by

no test coverage detected