Ejemplo n.º 1
0
        protected override void OpenConnection <TMessage>(WebSocketData original, IWampConnection <TMessage> connection)
        {
            VtortolaWampConnection <TMessage> casted = connection as VtortolaWampConnection <TMessage>;

            Task.Run(casted.HandleWebSocketAsync);
        }
        protected override void OpenConnection <TMessage>(IWampConnection <TMessage> connection)
        {
            VtortolaWampConnection <TMessage> casted = connection as VtortolaWampConnection <TMessage>;

            Task.Run(new Func <Task>(casted.HandleWebSocketAsync));
        }