Metadata-Version: 2.1
Name: wsserver-malbizer
Version: 1.0.3
Summary: Websocket Server for python
Home-page: UNKNOWN
Author: Anderson Souza
Author-email: anderson@malbizer.com.br
License: UNKNOWN
Keywords: python,websocket,server
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Requires-Dist: websockets (==9.1)

## Python Package for Websocket Server Live

* WebsocketServer built in python.

* For active server on command line:
    - Install package with PIP;
    - Run command wsserver-malbizer '<port>'
    - 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()


