Vitya
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
docs/server.rst
|
|
@ -248,7 +248,7 @@ message:: |
|
|
|
|
|
|
|
|
@sio.event |
|
|
@sio.event |
|
|
def connect(sid, environ, auth): |
|
|
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 |
|
|
The disconnect handler receives the ``sid`` assigned to the client and a |
|
|
``reason``, which provides the cause of the disconnection:: |
|
|
``reason``, which provides the cause of the disconnection:: |
|
|
|