Skip to content

Commit 1768e25

Browse files
updates to asgi examples
1 parent b214380 commit 1768e25

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

examples/asgi/README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
Socket.IO aiohttp Examples
1+
Socket.IO ASGI Examples
22
==========================
33

44
This directory contains example Socket.IO applications that are compatible with
5-
asyncio and the aiohttp framework. These applications require Python 3.5 or
6-
later.
5+
asyncio and the ASGI specification.
76

87
app.py
98
------
@@ -36,4 +35,4 @@ or::
3635
$ python latency.py
3736

3837
You can then access the application from your web browser at
39-
``http://localhost:8080``.
38+
``http://localhost:5000``.

examples/asgi/app.html

100755100644
File mode changed.

examples/asgi/app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
import asyncio
23

34
import uvicorn

examples/asgi/latency.html

100755100644
File mode changed.

examples/asgi/latency.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env python
12
import uvicorn
23

34
import socketio

examples/asgi/requirements.txt

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
aiohttp==1.3.1
2-
async-timeout==1.1.0
3-
chardet==2.3.0
4-
multidict==2.1.4
5-
python-engineio
6-
python_socketio
7-
six==1.10.0
8-
yarl==0.9.2
1+
Click==7.0
2+
h11==0.8.1
3+
httptools==0.0.11
4+
python-engineio==3.0.0
5+
-e git+git@github.com:miguelgrinberg/python-socketio@b214380d056dbbfb08273ac482633254176cb847#egg=python_socketio
6+
six==1.11.0
7+
uvicorn==0.3.21
8+
uvloop==0.11.3
9+
websockets==7.0

0 commit comments

Comments
 (0)