2025-02-26 21:05:55 +08:00
|
|
|
from django.urls import re_path
|
|
|
|
from . import consumers
|
|
|
|
|
|
|
|
websocket_urlpatterns = [
|
|
|
|
re_path(r'ws/notifications/$', consumers.NotificationConsumer.as_asgi()),
|
2025-04-29 10:22:57 +08:00
|
|
|
re_path(r'ws/chat/$', consumers.ChatConsumer.as_asgi()),
|
|
|
|
re_path(r'ws/chat/stream/$', consumers.ChatStreamConsumer.as_asgi()),
|
2025-02-26 21:05:55 +08:00
|
|
|
]
|