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

Method leave_room

src/socketio/async_manager.py:88–93  ·  view source on GitHub ↗

Remove a client from a room. Note: this method is a coroutine.

(self, sid, namespace, room)

Source from the content-addressed store, hash-verified

86 return self.basic_enter_room(sid, namespace, room, eio_sid=eio_sid)
87
88 async def leave_room(self, sid, namespace, room):
89 """Remove a client from a room.
90
91 Note: this method is a coroutine.
92 """
93 return self.basic_leave_room(sid, namespace, room)
94
95 async def close_room(self, room, namespace):
96 """Remove all participants from a room.

Callers

nothing calls this directly

Calls 1

basic_leave_roomMethod · 0.80

Tested by

no test coverage detected