コード例 #1
0
        public void GetPlayerStats(HttpListenerContext context)
        {
            string stats = _enableCache ? _playerStatsCache[ReqExtracters.ExtractName(context.Request)] : _db.MakePlayerStats(ReqExtracters.ExtractName(context.Request));

            this.SendResponse(context.Response, stats, HttpStatusCode.OK);
        }