Download Latest Version v4.5.2 source code.tar.gz (2.7 MB)
Email in envelope

Get an email when there's a new version of happyx

Home / v2.5.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2023-08-22 758 Bytes
v2.5.0 source code.tar.gz 2023-08-22 1.9 MB
v2.5.0 source code.zip 2023-08-22 2.0 MB
v2.5.0.tar.gz 2023-08-22 1.9 MB
v2.5.0.zip 2023-08-22 2.0 MB
Totals: 5 Items   7.8 MB 0

Changelog

  • Support websockets in Python bins (#115) py @app.websocket('/ws') def handle_websocket_connection(ws: WebSocket): if ws.id() == 2: ws.send_text("failure") ws.close() print(ws.state()) print(ws.id()) if ws.state() == 'open': # connect/open/close/mismatch_protocol/handshake_error/error print(ws.receive_text()) ws.send_json({"hello": "world"})

What's Changed

New Contributors

Full Changelog: https://github.com/HapticX/happyx/compare/v2.3.0...v2.5.0

Source: README.md, updated 2023-08-22