Skip to content

Commit d23581e

Browse files
documentation updates
1 parent 6848bed commit d23581e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

socketio/asyncio_server.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class AsyncServer(server.Server):
5858
disable CORS handling.
5959
:param cors_credentials: Whether credentials (cookies, authentication) are
6060
allowed in requests to this server.
61+
:param monitor_clients: If set to ``True``, a background task will ensure
62+
inactive clients are closed. Set to ``False`` to
63+
disable the monitoring task (not recommended). The
64+
default is ``True``.
6165
:param engineio_logger: To enable Engine.IO logging set to ``True`` or pass
6266
a logger object to use. To disable logging set to
6367
``False``.

socketio/server.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ class Server(object):
8686
:param cors_credentials: Whether credentials (cookies, authentication) are
8787
allowed in requests to this server. The default is
8888
``True``.
89+
:param monitor_clients: If set to ``True``, a background task will ensure
90+
inactive clients are closed. Set to ``False`` to
91+
disable the monitoring task (not recommended). The
92+
default is ``True``.
8993
:param engineio_logger: To enable Engine.IO logging set to ``True`` or pass
9094
a logger object to use. To disable logging set to
9195
``False``. The default is ``False``.

0 commit comments

Comments
 (0)