Skip to content

Commit

Permalink
updated asgi examples to latest uvicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Apr 28, 2019
1 parent 1b044aa commit 261fd67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/server/asgi/latency.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ async def message(sid, data):


if __name__ == '__main__':
uvicorn.run(app, '127.0.0.1', 5000)
uvicorn.run(app, host='127.0.0.1', port=5000)
6 changes: 3 additions & 3 deletions examples/server/asgi/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Click==7.0
h11==0.8.1
httptools==0.0.11
httptools==0.0.13
python_engineio
six==1.11.0
uvicorn==0.3.21
uvloop==0.11.3
uvicorn==0.7.0
uvloop==0.12.2
websockets==7.0
2 changes: 1 addition & 1 deletion examples/server/asgi/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ def disconnect(sid):


if __name__ == '__main__':
uvicorn.run(app, '127.0.0.1', 5000)
uvicorn.run(app, host='127.0.0.1', port=5000)

0 comments on commit 261fd67

Please sign in to comment.