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