internal GraphOutputStats StartHttp(int requestHeaderSize, int requestBodySize)
        {
            if (HttpStopwatch == null)
            {
                HttpStopwatch = new Stopwatch();
            }
            HttpStopwatch.Start();

            RequestHeaderSize = requestHeaderSize;
            RequestBodySize   = requestBodySize;

            return(this);
        }
        internal GraphOutputStats StopHttp(HttpStatusCode statusCode, int responseHeaderSize, int responseBodySize)
        {
            if (Stopwatch == null)
            {
                return(this);
            }
            HttpStopwatch.Stop();

            HttpDuration       = HttpStopwatch.Elapsed;
            StatusCode         = statusCode;
            ResponseHeaderSize = responseHeaderSize;
            ResponseBodySize   = ResponseBodySize;

            return(this);
        }