📌  相关文章
📜  websocket._exceptions.WebSocketBadStatusException:握手状态 500 内部服务器错误 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:55.158000             🧑  作者: Mango

代码示例3
application = ProtocolTypeRouter({
    'websocket': AuthMiddlewareStack(
        URLRouter([
            url(r'^debug/$', debug_consumers.DebugConsumer)
        ])
    ),
})