Пример #1
0
        public void GetPopularServersReport(HttpListenerContext context)
        {
            string report = _enableCache ? _popularServersReportCache[ReqExtracters.ExtractCount(context.Request)] : _db.MakePopularServersReport(ReqExtracters.ExtractCount(context.Request));

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