demo to figure out server-sent events with bottle and rpyc
pipenv install
in one (pipenv
) shell
python server.py
in another (pipenv
) shell
python client.py
go to http://localhost:8080/
submit the form
watch the real-time log file streamed to the browser window
gevent
server is needed with bottle; the WSGIRefServer did not handle the yield
s well