Websocket Server for python
Project description
Python Package for Websocket Server Live
-
WebsocketServer built in python.
-
For active server on command line:
-
Install package with PIP;
-
Run command wsserver-malbizer ''
-
Send JSON string for serve on model:
{ "subject": "subject for your message", "sender": "id_sender", "topic": [], //List of topics to inscribe message "payload": "Value for your message (JSON string)", "persist": false //indicate if message is persisted and send for new clients }
-
-
For using on python file:
-
Import wsservermalbizer with WebsocketServer and use the code:
WebSocketServer(port=port).start()
-
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for wsserver_malbizer-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32c5f226259a0624664dab19aba4f6517d3de2dd07628cacb25106ee259163e |
|
MD5 | c17c5c69409b64012c832a247d1dd241 |
|
BLAKE2b-256 | 13f6206b5116115b4a0fdaf639b66a42159c66906e4783fb62922b1c6703fa7a |