##// END OF EJS Templates
Working realtime & database
Working realtime & database

File last commit:

r0:550d5a042943
r0:550d5a042943
Show More
routing.py
8 lines | 259 B | text/x-python | PythonLexer
from channels.routing import route
from px.consumers import ws_connect, ws_disconnect, ws_message
channel_routing = [
route("websocket.connect", ws_connect),
route("websocket.receive", ws_message),
route("websocket.disconnect", ws_disconnect),
]