Miguel Grinberg
bd8555da85
Pass a `reason` argument to the disconnect handler ( #1422 )
4 months ago
Miguel Grinberg
5f83cd0f7b
Renamed flask-socketio references to python-socketio ( Fixes #1377 )
7 months ago
Miguel Grinberg
287d6ed551
Update note about Sanic issues ( Fixes #1365 )
9 months ago
Miguel Grinberg
3f78af2831
Update Socket.IO JavaScript client to version 4.7.2 in all examples
2 years ago
Miguel Grinberg
8e3460c5fc
Async versions of enter_room and leave_room should be coroutines (breaking change)
2 years ago
dependabot[bot]
d17dc3083f
Bump ujson from 1.35 to 5.4.0 in /examples/server/sanic ( #950 ) #nolog
Bumps [ujson](https://github.com/ultrajson/ultrajson ) from 1.35 to 5.4.0.
- [Release notes](https://github.com/ultrajson/ultrajson/releases )
- [Commits](https://github.com/ultrajson/ultrajson/compare/v1.35...5.4.0 )
---
updated-dependencies:
- dependency-name: ujson
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
dependabot[bot]
e31dcff4a3
Bump sanic from 20.12.6 to 20.12.7 in /examples/server/sanic ( #995 ) #nolog
Bumps [sanic](https://github.com/sanic-org/sanic ) from 20.12.6 to 20.12.7.
- [Release notes](https://github.com/sanic-org/sanic/releases )
- [Changelog](https://github.com/sanic-org/sanic/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/sanic-org/sanic/compare/v20.12.6...v20.12.7 )
---
updated-dependencies:
- dependency-name: sanic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Florian Metzger-Noel
4d5e36d36f
Add application name to Sanic example ( #892 )
3 years ago
dependabot[bot]
342f2e3fe9
Bump sanic from 0.8 to 20.12.6 in /examples/server/sanic ( #875 )
Bumps [sanic](https://github.com/sanic-org/sanic ) from 0.8 to 20.12.6.
- [Release notes](https://github.com/sanic-org/sanic/releases )
- [Changelog](https://github.com/sanic-org/sanic/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/sanic-org/sanic/compare/0.8.0...v20.12.6 )
---
updated-dependencies:
- dependency-name: sanic
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <[email protected] >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
Miguel Grinberg
273a4b0439
Add example code to flake8 linter
3 years ago
Miguel Grinberg
a07eedf54e
Pass custom authentication data with client connection ( Fixes #661 )
4 years ago
Miguel Grinberg
cc9b3e97bb
v5 protocol: updated all examples
4 years ago
Miguel Grinberg
0f42c181da
Various simplifications to examples
6 years ago
maxDzh
6e4079ac64
Update sanic version in requirements.txt ( #255 )
Sanic example doesn't work because of the server version specified in requirements (0.3.1).
Traceback (most recent call last):
File "app.py", line 23, in <module>
@app.listener('before_server_start')
AttributeError: 'Sanic' object has no attribute 'listener'
The code starts to work from 0.7 sanic version.
6 years ago
Miguel Grinberg
4822d8125d
reorganization of examples, plus some new ones for the client
6 years ago