public void AddWebSocket(string url, WebSocketDescriptor descriptor) { AllowWebSocketProtocol = true; Routing.AddWebSocket(url, descriptor); }
//Route: WebSocket public WebSocketClientContainer <T> AddWebSocket <T>(string url, bool requiresToken = false, int level = 0) where T : WebSocketClient, new() { AllowWebSocketProtocol = true; return(Routing.AddWebSocket <T>(url, requiresToken, level)); }