Exemplo n.º 1
0
        private void OnWebSocketReceive(object sender, WebSocketReceiveArgs e)
        {
            ActionResult result = mServer.ExecuteWS(e.Request, e.Frame);

            if (result.Code == 403)
            {
                mServer.BaseServer.Log(LogType.Error, e.Sesson, string.Format("{0} error {1}", result.Url, result.Error));
            }
        }