from django.urls import path

from channels.routing import ProtocolTypeRouter, URLRouter

from rooms.consumers import RoomConsumer

application = ProtocolTypeRouter({
    'websocket': URLRouter([
        path(r'ws/rooms/<str:room_id>', RoomConsumer),
    ])
})
3c3bad10bf24744afa5e6b8d9d0e09dce1a540a5
<mask token>

<mask token>
application = ProtocolTypeRouter({'websocket': URLRouter([path(
    'ws/rooms/<str:room_id>', RoomConsumer)])})

from django.urls import path
from channels.routing import ProtocolTypeRouter, URLRouter
from rooms.consumers import RoomConsumer
application = ProtocolTypeRouter({'websocket': URLRouter([path(
    'ws/rooms/<str:room_id>', RoomConsumer)])})

from django.urls import path

from channels.routing import ProtocolTypeRouter, URLRouter

from rooms.consumers import RoomConsumer

application = ProtocolTypeRouter({
    'websocket': URLRouter([
        path(r'ws/rooms/<str:room_id>', RoomConsumer),
    ])
})