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

Method set_tcp_nodelay

aiohttp/web_reqrep.py:620–629  ·  view source on GitHub ↗
(self, value)

Source from the content-addressed store, hash-verified

618 return self._tcp_nodelay
619
620 def set_tcp_nodelay(self, value):
621 value = bool(value)
622 self._tcp_nodelay = value
623 if value:
624 self._tcp_cork = False
625 if self._resp_impl is None:
626 return
627 if value:
628 self._resp_impl.transport.set_tcp_cork(False)
629 self._resp_impl.transport.set_tcp_nodelay(value)
630
631 @property
632 def tcp_cork(self):

Callers 5

set_tcp_corkMethod · 0.45
_startMethod · 0.45
write_eofMethod · 0.45

Calls 1

set_tcp_corkMethod · 0.45