Skip to content

Commit 2189842

Browse files
committed
adding example websockets open source code
1 parent f1d1506 commit 2189842

File tree

4 files changed

+44
-1
lines changed

4 files changed

+44
-1
lines changed

all.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4807,6 +4807,21 @@ <h2>Websockets with Nginx</h2>
48074807
shows how to proxy with Socket.io.</p>
48084808
</li>
48094809
</ul>
4810+
<h2>Open source Python examples with WebSockets</h2>
4811+
<ul>
4812+
<li>
4813+
<p>The
4814+
<a href="https://github.com/makaimc/python-websockets-example">python-websockets-example</a>
4815+
contains code to create a simple web application that provides WebSockets
4816+
using Flask, Flask-SocketIO and gevent.</p>
4817+
</li>
4818+
<li>
4819+
<p>The Flask-SocketIO project has a
4820+
<a href="https://github.com/miguelgrinberg/Flask-SocketIO/tree/master/example">chat web application</a>
4821+
that demos sending server generated events as well as input from users
4822+
via a text box input on a form.</p>
4823+
</li>
4824+
</ul>
48104825
<h2>General WebSockets resources</h2>
48114826
<ul>
48124827
<li>

feeds/all.atom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-01-12T06:31:23Z</updated></feed>
2+
<feed xmlns="http://www.w3.org/2005/Atom"><title>Matt Makai</title><link href="http://www.fullstackpython.com/" rel="alternate"></link><link href="http://www.fullstackpython.com/feeds/all.atom.xml" rel="self"></link><id>http://www.fullstackpython.com/</id><updated>2015-01-16T14:02:48Z</updated></feed>

source/content/pages/12-next/1201-websockets.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ configuration properly.
6161
shows how to proxy with Socket.io.
6262

6363

64+
## Open source Python examples with WebSockets
65+
* The
66+
[python-websockets-example](https://github.com/makaimc/python-websockets-example)
67+
contains code to create a simple web application that provides WebSockets
68+
using Flask, Flask-SocketIO and gevent.
69+
70+
71+
* The Flask-SocketIO project has a
72+
[chat web application](https://github.com/miguelgrinberg/Flask-SocketIO/tree/master/example)
73+
that demos sending server generated events as well as input from users
74+
via a text box input on a form.
75+
76+
6477
## General WebSockets resources
6578
* The official W3C
6679
[candidate draft for WebSockets API](http://www.w3.org/TR/websockets/)

websockets.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,21 @@ <h2>Websockets with Nginx</h2>
8484
shows how to proxy with Socket.io.</p>
8585
</li>
8686
</ul>
87+
<h2>Open source Python examples with WebSockets</h2>
88+
<ul>
89+
<li>
90+
<p>The
91+
<a href="https://github.com/makaimc/python-websockets-example">python-websockets-example</a>
92+
contains code to create a simple web application that provides WebSockets
93+
using Flask, Flask-SocketIO and gevent.</p>
94+
</li>
95+
<li>
96+
<p>The Flask-SocketIO project has a
97+
<a href="https://github.com/miguelgrinberg/Flask-SocketIO/tree/master/example">chat web application</a>
98+
that demos sending server generated events as well as input from users
99+
via a text box input on a form.</p>
100+
</li>
101+
</ul>
87102
<h2>General WebSockets resources</h2>
88103
<ul>
89104
<li>

0 commit comments

Comments
 (0)