Browse Source

Update server.rst

pull/1512/head
Vitya 8 months ago
committed by GitHub
parent
commit
0700b5394f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/server.rst

2
docs/server.rst

@ -248,7 +248,7 @@ message::
@sio.event
def connect(sid, environ, auth):
raise ConnectionRefusedError('authentication failed')
raise socketio.exceptions.ConnectionRefusedError('authentication failed')
The disconnect handler receives the ``sid`` assigned to the client and a
``reason``, which provides the cause of the disconnection::

Loading…
Cancel
Save