from channels.routing import ProtocolTypeRouter, URLRouter
from channels.auth import AuthMiddlewareStack
from django.conf.urls import url
from chat.consumers import ChatConsumer


application = ProtocolTypeRouter({
    'websocket': AuthMiddlewareStack(
        URLRouter([
            url("^chat/$", ChatConsumer),
        ])
    ),
})

0a10ec747556764fdab40c91744952c0b2e3c2ed
<mask token>

<mask token>
application = ProtocolTypeRouter({'websocket': AuthMiddlewareStack(
    URLRouter([url('^chat/$', ChatConsumer)]))})

from channels.routing import ProtocolTypeRouter, URLRouter
from channels.auth import AuthMiddlewareStack
from django.conf.urls import url
from chat.consumers import ChatConsumer
application = ProtocolTypeRouter({'websocket': AuthMiddlewareStack(
    URLRouter([url('^chat/$', ChatConsumer)]))})

from channels.routing import ProtocolTypeRouter, URLRouter
from channels.auth import AuthMiddlewareStack
from django.conf.urls import url
from chat.consumers import ChatConsumer


application = ProtocolTypeRouter({
    'websocket': AuthMiddlewareStack(
        URLRouter([
            url("^chat/$", ChatConsumer),
        ])
    ),
})
