To help me through this whole mess of technologies, I asked my colleagues and the community on stackoverflow.
It is basically a really simple one way communication scheme, initiated
by the client, where the talking channel is from server to client. The
protocol is really simple, basically it is made of several
separated by two carriage return, where the field can be
So I took python Tornado library, and cooked a very simple, yet almost complete, client-server eventsource library in python:
It’s on my github
It comes in three components:
- the server which opens a port and wait for new clients (GET) or for commands (POST),
- the client which connects to the server and wait for commands, and that can be extended by giving it a callback to do “things”
- the request client, that posts commands and values to the server, which forwards them to the client.
Try it, and don’t hesitate to give me feedback !