MCPcopy Create free account
hub / github.com/miguelgrinberg/python-socketio / disconnect

Method disconnect

src/socketio/async_manager.py:74–79  ·  view source on GitHub ↗

Disconnect a client. Note: this method is a coroutine.

(self, sid, namespace, **kwargs)

Source from the content-addressed store, hash-verified

72 return super().connect(eio_sid, namespace)
73
74 async def disconnect(self, sid, namespace, **kwargs):
75 """Disconnect a client.
76
77 Note: this method is a coroutine.
78 """
79 return self.basic_disconnect(sid, namespace, **kwargs)
80
81 async def enter_room(self, sid, namespace, room, eio_sid=None):
82 """Add a client to a room.

Callers

nothing calls this directly

Calls 1

basic_disconnectMethod · 0.80

Tested by

no test coverage detected