Files
awx/awx/main/routing.py
2016-09-27 18:39:07 -04:00

8 lines
241 B
Python

from channels.routing import route
channel_routing = [
route("websocket.disconnect", "awx.main.consumers.ws_disconnect", path=r'^/websocket/$'),
route("websocket.receive", "awx.main.consumers.ws_receive", path=r'^/websocket/$'),
]