Example #1
0
async def leave_room(sid, room_name):
    print(
        "________________________ User {} Left room {} with namespace /story _______________________"
        .format(sid, room_name))
    sio.leave_room(sid, room=room_name, namespace='/story')
    sio.leave_room(sid, room=sid, namespace='/story')
Example #2
0
async def leave_room(sid, room_name):
    print(
        "________________________ User {} Left room {} with namespace /dashboard _______________________"
        .format(sid, room_name))
    sio.leave_room(sid, room=room_name, namespace='/nav')
    sio.leave_room(sid, room=sid, namespace='/nav')
Example #3
0
async def leave_room(sid, room_name):
    print(
        "________________________ User {} Left room {} with namespace /modelpublish _______________________"
        .format(sid, room_name))
    sio.leave_room(sid, room=room_name, namespace='/modelpublish')
    sio.leave_room(sid, room=sid, namespace='/modelpublish')
async def leave_room(sid, room_name):
    print(
        "________________________ User {} Left room {} with namespace /conversation_______________________"
        .format(sid, room_name))
    sio.leave_room(sid, room=room_name, namespace='/conversation')
    sio.leave_room(sid, room=sid, namespace='/conversation')