28 references to HttpSysRequestTimingType
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (3)
41Assert.True(timings.Length > (int)HttpSysRequestTimingType.Http3HeaderDecodeEnd); 43var headerStart = timings[(int)HttpSysRequestTimingType.RequestHeaderParseStart]; 44var headerEnd = timings[(int)HttpSysRequestTimingType.RequestHeaderParseEnd];
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Inprocess\HttpSysRequestInfoTests.cs (3)
41Assert.True(timings.Length > (int)HttpSysRequestTimingType.Http3HeaderDecodeEnd); 43var headerStart = timings[(int)HttpSysRequestTimingType.RequestHeaderParseStart]; 44var headerEnd = timings[(int)HttpSysRequestTimingType.RequestHeaderParseEnd];
Microsoft.AspNetCore.Server.HttpSys (7)
IHttpSysRequestTimingFeature.cs (4)
16/// The index of the timing can be cast to <see cref="HttpSysRequestTimingType"/> to know what the timing represents. 30bool TryGetTimestamp(HttpSysRequestTimingType timestampType, out long timestamp); 39bool TryGetElapsedTime(HttpSysRequestTimingType startingTimestampType, HttpSysRequestTimingType endingTimestampType, out TimeSpan elapsed);
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (3)
184public bool TryGetTimestamp(HttpSysRequestTimingType timestampType, out long timestamp) 198public bool TryGetElapsedTime(HttpSysRequestTimingType startingTimestampType, HttpSysRequestTimingType endingTimestampType, out TimeSpan elapsed)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (9)
HttpsTests.cs (9)
252Assert.True(requestTimingFeature.Timestamps.Length > (int)HttpSysRequestTimingType.Http3HeaderDecodeEnd); 253Assert.True(requestTimingFeature.TryGetTimestamp(HttpSysRequestTimingType.RequestHeaderParseStart, out var headerStart)); 254Assert.True(requestTimingFeature.TryGetTimestamp(HttpSysRequestTimingType.RequestHeaderParseEnd, out var headerEnd)); 255Assert.True(requestTimingFeature.TryGetElapsedTime(HttpSysRequestTimingType.RequestHeaderParseStart, HttpSysRequestTimingType.RequestHeaderParseEnd, out var elapsed)); 257Assert.False(requestTimingFeature.TryGetTimestamp(HttpSysRequestTimingType.Http3StreamStart, out var streamStart)); 258Assert.False(requestTimingFeature.TryGetTimestamp((HttpSysRequestTimingType)int.MaxValue, out var invalid)); 259Assert.False(requestTimingFeature.TryGetElapsedTime(HttpSysRequestTimingType.Http3StreamStart, HttpSysRequestTimingType.RequestHeaderParseStart, out elapsed));
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (3)
184public bool TryGetTimestamp(HttpSysRequestTimingType timestampType, out long timestamp) 198public bool TryGetElapsedTime(HttpSysRequestTimingType startingTimestampType, HttpSysRequestTimingType endingTimestampType, out TimeSpan elapsed)
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (3)
184public bool TryGetTimestamp(HttpSysRequestTimingType timestampType, out long timestamp) 198public bool TryGetElapsedTime(HttpSysRequestTimingType startingTimestampType, HttpSysRequestTimingType endingTimestampType, out TimeSpan elapsed)