Hello,
I want to have multiple auth classes for the Django channel. Can I increase 
the websocket key on asgi.py for this?

For example:

application = ProtocolTypeRouter(
{
"http": get_asgi_application(),
"websocket": AuthMiddlewareStack(URLRouter(websocket_urlpatterns)),
"websocket2": CustomMiddleware(URLRouter(websocket_urlpatterns2))
}

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/a225158c-151e-4c65-bb54-67e223334b60n%40googlegroups.com.
  • Dja... Mesut Öncel
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)

Reply via email to