You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved compatibility: Other WebSocket modules from different languages can now interact with the Webshocket server. Check the docs for more information.
Added a requires keyword argument to webshocket.rpc_method for custom access control.
register_rpc_method added to WebSocketServer for manual addition to RPC Function
Disconnected client will automatically unsubscribe from all channels.
Fixed
Fixed a bug where an RPC function would not respond when it returned a falsy type as its return object.
When an RPC method returns no value, an RPC response is sent with None as its result.
Changed
send_rpc function now returns the response of the RPC calls.
The example code in the folder example/ was refactored to demonstrate Webshocket's full potential
ClientConnection.publish() can now accept an Iterable of channel names