ssiyad / spn-ws-py

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spn-ws-py

Setup

git clone https://github.com/ssiyad/spn-ws-py spn-ws-py
cd spn-ws-py
pipenv install

Server

pipenv run python server.py

Events

  • query with body
    • server_timestamp returns timetamp (iso 8601)
    • clients_count returns number of clients connected at the moment
    • connection_start returns time at which current connection was established

Client

pipenv run python client.py

Screenshot

client_screenshot

About

License:MIT License


Languages

Language:Python 100.0%