This commit is contained in:
Andrew Godwin 2016-03-20 13:55:22 -03:00
parent 18385d68f0
commit d3da7054b4

View File

@ -219,7 +219,7 @@ And what our routing should look like in ``routing.py``::
route("websocket.connect", ws_add),
route("websocket.receive", ws_message),
route("websocket.disconnect", ws_disconnect),
}
]
With all that code, you now have a working set of a logic for a chat server.
Test time! Run ``runserver``, open a browser and use that same JavaScript