diff --git a/src/socketio/async_client.py b/src/socketio/async_client.py index c1ec14f..fc7ce3f 100644 --- a/src/socketio/async_client.py +++ b/src/socketio/async_client.py @@ -45,6 +45,9 @@ class AsyncClient(base_client.BaseClient): leave interrupt handling to the calling application. Interrupt handling can only be enabled when the client instance is created in the main thread. + :param serializer_args: A mapping of additional parameters to pass to + the serializer. The content of this dictionary + depends on the selected serialization method. The Engine.IO configuration supports the following settings: diff --git a/src/socketio/async_server.py b/src/socketio/async_server.py index 5b896bf..9bdfca4 100644 --- a/src/socketio/async_server.py +++ b/src/socketio/async_server.py @@ -50,6 +50,9 @@ class AsyncServer(base_server.BaseServer): default is `['/']`, which always accepts connections to the default namespace. Set to `'*'` to accept all namespaces. + :param serializer_args: A mapping of additional parameters to pass to + the serializer. The content of this dictionary + depends on the selected serialization method. :param kwargs: Connection parameters for the underlying Engine.IO server. The Engine.IO configuration supports the following settings: diff --git a/src/socketio/client.py b/src/socketio/client.py index 296e4dc..7be92cc 100644 --- a/src/socketio/client.py +++ b/src/socketio/client.py @@ -48,6 +48,9 @@ class Client(base_client.BaseClient): leave interrupt handling to the calling application. Interrupt handling can only be enabled when the client instance is created in the main thread. + :param serializer_args: A mapping of additional parameters to pass to + the serializer. The content of this dictionary + depends on the selected serialization method. The Engine.IO configuration supports the following settings: diff --git a/src/socketio/server.py b/src/socketio/server.py index 21d6afe..1658fa5 100644 --- a/src/socketio/server.py +++ b/src/socketio/server.py @@ -53,6 +53,9 @@ class Server(base_server.BaseServer): default is `['/']`, which always accepts connections to the default namespace. Set to `'*'` to accept all namespaces. + :param serializer_args: A mapping of additional parameters to pass to + the serializer. The content of this dictionary + depends on the selected serialization method. :param kwargs: Connection parameters for the underlying Engine.IO server. The Engine.IO configuration supports the following settings: