MCPcopy
hub / github.com/aio-libs/aiohttp / drain

Method drain

aiohttp/web_reqrep.py:750–753  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

748
749 @asyncio.coroutine
750 def drain(self):
751 if self._resp_impl is None:
752 raise RuntimeError("Response has not been started")
753 yield from self._resp_impl.transport.drain()
754
755 @asyncio.coroutine
756 def write_eof(self):

Callers 5

test_drain_before_startFunction · 0.95
writeMethod · 0.80
write_eofMethod · 0.80
_sendfile_systemMethod · 0.80
_sendfile_fallbackMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_drain_before_startFunction · 0.76