summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyan Williams <breath@alum.mit.edu>2010-08-13 11:45:56 -0700
committerRyan Williams <breath@alum.mit.edu>2010-08-13 11:45:56 -0700
commita462dd4dbcf32a212ea17f415be78680a010449f (patch)
tree42ef5c211c368a85edddb6b0e51d43d2c084ddf1 /doc
parent74d1ceaa06a33675f8f9444d0de5482dd9459495 (diff)
downloadeventlet-a462dd4dbcf32a212ea17f415be78680a010449f.tar.gz
Added websocket multi-user chat example for Luca Zago's question.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/examples.rst b/doc/examples.rst
index c16bf26..dd6574e 100644
--- a/doc/examples.rst
+++ b/doc/examples.rst
@@ -94,3 +94,13 @@ This exercises some of the features of the websocket server
implementation.
.. literalinclude:: ../examples/websocket.py
+
+.. _websocket_chat_example:
+
+Websocket Multi-User Chat Example
+--------------------------
+``examples/websocket_chat.py``
+
+This is a mashup of the websocket example and the multi-user chat example, showing how you can do the same sorts of things with websockets that you can do with regular sockets.
+
+.. literalinclude:: ../examples/websocket_chat.py