Websocket Server for python
Project description
@section{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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e81ba768823b5870e327cb6c0529d9efc3205768b0c49ef714da825314d84336 |
|
MD5 | 610393ed74a35edf3887d918cd4d2a87 |
|
BLAKE2b-256 | 934f67f65919dac0b12b7344c1d3e8ffba9a6b583e3672b3a989ce380b548811 |