@@ -255,10 +255,11 @@ def emit(self, event, data=None, to=None, room=None, skip_sid=None,
255255 multiple arguments, use a tuple where each element is of
256256 one of the types indicated above.
257257 :param to: The recipient of the message. This can be set to the
258- session ID of a client to address only that client, or to
259- to any custom room created by the application to address all
260- the clients in that room, If this argument is omitted the
261- event is broadcasted to all connected clients.
258+ session ID of a client to address only that client, to any
259+ any custom room created by the application to address all
260+ the clients in that room, or to a list of custom room
261+ names. If this argument is omitted the event is broadcasted
262+ to all connected clients.
262263 :param room: Alias for the ``to`` parameter.
263264 :param skip_sid: The session ID of a client to skip when broadcasting
264265 to a room or to all clients. This can be used to
@@ -305,10 +306,11 @@ def send(self, data, to=None, room=None, skip_sid=None, namespace=None,
305306 multiple arguments, use a tuple where each element is of
306307 one of the types indicated above.
307308 :param to: The recipient of the message. This can be set to the
308- session ID of a client to address only that client, or to
309- to any custom room created by the application to address all
310- the clients in that room, If this argument is omitted the
311- event is broadcasted to all connected clients.
309+ session ID of a client to address only that client, to any
310+ any custom room created by the application to address all
311+ the clients in that room, or to a list of custom room
312+ names. If this argument is omitted the event is broadcasted
313+ to all connected clients.
312314 :param room: Alias for the ``to`` parameter.
313315 :param skip_sid: The session ID of a client to skip when broadcasting
314316 to a room or to all clients. This can be used to
0 commit comments