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

Method write_eof

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

Source from the content-addressed store, hash-verified

854
855 @asyncio.coroutine
856 def write_eof(self):
857 try:
858 body = self._body
859 if body is not None:
860 self.write(body)
861 finally:
862 self.set_tcp_nodelay(True)
863 yield from super().write_eof()
864
865
866def json_response(data=sentinel, *, text=None, body=None, status=200,

Calls 2

writeMethod · 0.45
set_tcp_nodelayMethod · 0.45