MCPcopy
hub / github.com/benoitc/gunicorn / set_complete

Method set_complete

gunicorn/asgi/protocol.py:193–196  ·  view source on GitHub ↗

Mark body as complete (called when message ends).

(self)

Source from the content-addressed store, hash-verified

191 self._wake_waiter()
192
193 def set_complete(self):
194 """Mark body as complete (called when message ends)."""
195 self._complete = True
196 self._wake_waiter()
197
198 def signal_disconnect(self):
199 """Signal that the client transport has gone away."""

Calls 1

_wake_waiterMethod · 0.95