From 932b0296afea789f51c0b7f39f99a561593fb257 Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Sun, 19 May 2019 18:35:23 +0100 Subject: [PATCH] update documentation skip_sid argument supporting lists --- flask_socketio/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/flask_socketio/__init__.py b/flask_socketio/__init__.py index e7fa6027..da6eee43 100644 --- a/flask_socketio/__init__.py +++ b/flask_socketio/__init__.py @@ -363,7 +363,8 @@ def ping(): :param skip_sid: The session id of a client to ignore when broadcasting or addressing a room. This is typically set to the originator of the message, so that everyone except - that client receive the message. + that client receive the message. To skip multiple sids + pass a list. :param callback: If given, this function will be called to acknowledge that the client has received the message. The arguments that will be passed to the function are @@ -401,7 +402,8 @@ def send(self, data, json=False, namespace=None, room=None, :param skip_sid: The session id of a client to ignore when broadcasting or addressing a room. This is typically set to the originator of the message, so that everyone except - that client receive the message. + that client receive the message. To skip multiple sids + pass a list. :param callback: If given, this function will be called to acknowledge that the client has received the message. The arguments that will be passed to the function are