2 references to TryGetElapsedTime
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (2)
HttpsTests.cs (2)
247
Assert.True(requestTimingFeature.
TryGetElapsedTime
(HttpSysRequestTimingType.RequestHeaderParseStart, HttpSysRequestTimingType.RequestHeaderParseEnd, out var elapsed));
251
Assert.False(requestTimingFeature.
TryGetElapsedTime
(HttpSysRequestTimingType.Http3StreamStart, HttpSysRequestTimingType.RequestHeaderParseStart, out elapsed));