python-scripts/scripts/Chat-App/chat/routing.py
Raj Saha b4e2d6e874
Upload Chat-App
uploaded the required files
2022-10-09 10:52:32 +05:30

9 lines
243 B
Python

from django.urls import path , include
from chat.consumers import ChatConsumer
# Here, "" is routing to the URL ChatConsumer which
# will handle the chat functionality.
websocket_urlpatterns = [
path("" , ChatConsumer.as_asgi()) ,
]