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

Method write_eof

aiohttp/protocol.py:730–737  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

728 return ()
729
730 def write_eof(self):
731 self.write(EOF_MARKER)
732 try:
733 self.writer.throw(aiohttp.EofStream())
734 except StopIteration:
735 pass
736
737 return self.transport.drain()
738
739 def _write_chunked_payload(self):
740 """Write data in chunked transfer encoding."""

Callers

nothing calls this directly

Calls 3

writeMethod · 0.95
throwMethod · 0.80
drainMethod · 0.80

Tested by

no test coverage detected