Hello list,
I've been trying to use the stargate module, listed here:
https://trypyramid.com/resources-extending-pyramid.html
"""
Stargate
Stargate is a package for adding WebSockets support to Pyramid
applications using the excellent eventlet library for long running
connections.
Maintainers: boothead
PyPI VCS docs
"""
This was all very promising, but PyPI says the current version, 0.4 was
last updated in 2011, and the provided example
(
http://stargate.readthedocs.io/en/latest/index.html) is broken. My
Firefox 52 seems to be sending different header values from what
Stargate expects, and the websocket communication never happens. The
websocket protocol has probably evolved in 6 years...
Incidentally, several months ago, a colleague of mine had been
suggesting Autobahn (
http://autobahn.readthedocs.io/en/latest/), but
Stargate looked much simpler to implement, thanks to the Pyramid
integration. Any recommendations welcome :)
Laurent.