Skip to content

Commit 652ced7

Browse files
Merge branch 'AndrewPashkin-clarify-level-of-separation-of-namespaces'
2 parents 199ed15 + 8a7ea67 commit 652ced7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/index.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -204,14 +204,14 @@ as a pathname following the hostname and port. For example, connecting to
204204
*http://example.com:8000/chat* would open a connection to the namespace
205205
*/chat*.
206206

207-
Each namespace is handled independently from the others, with separate event
208-
handlers and rooms. It is important that applications that use multiple
209-
namespaces specify the correct namespace when setting up their event handlers
210-
and rooms, using the optional ``namespace`` argument available in all the
211-
methods in the :class:`socketio.Server` class.
212-
213-
When the ``namespace`` argument is omitted, set to ``None`` or to ``'/'``, the
214-
default namespace, representing the physical connection, is used.
207+
Each namespace is handled independently from the others, with separate session
208+
IDs (``sid``s), event handlers and rooms. It is important that applications
209+
that use multiple namespaces specify the correct namespace when setting up
210+
their event handlers and rooms, using the optional ``namespace`` argument
211+
available in all the methods in the :class:`socketio.Server` class.
212+
213+
When the ``namespace`` argument is omitted, set to ``None`` or to ``'/'``, a
214+
default namespace is used.
215215

216216
Class-Based Namespaces
217217
----------------------

0 commit comments

Comments
 (0)