Skip to content

Commit

Permalink
Merge branch 'AndrewPashkin-clarify-level-of-separation-of-namespaces'
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Dec 21, 2016
2 parents 199ed15 + 8a7ea67 commit 652ced7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -204,14 +204,14 @@ as a pathname following the hostname and port. For example, connecting to
*http://example.com:8000/chat* would open a connection to the namespace
*/chat*.

Each namespace is handled independently from the others, with separate event
handlers and rooms. It is important that applications that use multiple
namespaces specify the correct namespace when setting up their event handlers
and rooms, using the optional ``namespace`` argument available in all the
methods in the :class:`socketio.Server` class.

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

When the ``namespace`` argument is omitted, set to ``None`` or to ``'/'``, a
default namespace is used.

Class-Based Namespaces
----------------------
Expand Down

0 comments on commit 652ced7

Please sign in to comment.