sockjs
sockjs copied to clipboard
Fixed processing of heartbeats and a session expiration and addeds support of aiohttp_cors
- Breaking change: Removed argument
timeoutfromSession.__init__()andSessionManager.__init__(). - Breaking change: Argument
heartbeatofSessionManager.__init__()renamed intoheartbeat_delay. - Breaking change:
Session.registryrenamed intoSession.app. - Breaking change: Deleted method
SessionManager.route_url(). - Breaking change: Changed name of some routes.
- Breaking change: Dropped support of Python < 3.7
- Fixed processing of heartbeats and a session expiration.
- Fixed ping-pong based heartbeats for web-socket connections.
- Added arguments
heartbeat_delayanddisconnect_delayintoSession.__init__(). - Added argument
disconnect_delayintoSessionManager.__init__(). - Added argument
cors_configinto functionadd_endpoint()to support of CORS settings fromaiohttp_cors. - Function
add_endpoint()now returns all registered routes. - Replaced returning instances of error HTTP responses on raising its as exceptions.
CI:
- TravisCI replaced by GItHub Actions
Somebody please remove Travis CI from pull request checks!