Python Websockets Server with Circuits
Today marks the release of circuits-1.5 which brings to the circuits application framework a new circuits.web dispatcher.
The WebSockets dispatcher This dispatcher allows you to build a web application that is capable of accepting WebSockets client connections on the same process/thread.
Using circuits-1.5 here is a very simple Web Application that has WebSockets support and echos back every message it recieves:
index.html:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.
[Read More]