Esempio n. 1
0
        public void Process(HttpContext context, Stopwatch stopwatch)
        {
            var requestInfo = RequestInfoBuilder.Build(context, stopwatch);

            if (requestInfo != null)
            {
                Task.Run(() => { Storage.AddRequestInfoAsync(requestInfo).ConfigureAwait(false); });
            }
        }
        public void Process(HttpContext context, Stopwatch stopwatch)
        {
            var(requestInfo, requestDetail) = RequestInfoBuilder.Build(context, stopwatch);

            if (requestInfo != null && requestDetail != null)
            {
                Task.Run(() => { Storage.AddRequestInfoAsync(requestInfo, requestDetail); });
            }
        }
        public void Process(HttpContext context, Stopwatch stopwatch)
        {
            var(requestInfo, requestDetail) = RequestInfoBuilder.Build(context, stopwatch);

            if (requestInfo != null && requestDetail != null)
            {
                ReportsTransport.Transport(new Core.RequestBag(requestInfo, requestDetail));
            }
        }