4 references to TryGetTimestamp
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
HttpsTests.cs (4)
253
Assert.True(requestTimingFeature.
TryGetTimestamp
(HttpSysRequestTimingType.RequestHeaderParseStart, out var headerStart));
254
Assert.True(requestTimingFeature.
TryGetTimestamp
(HttpSysRequestTimingType.RequestHeaderParseEnd, out var headerEnd));
257
Assert.False(requestTimingFeature.
TryGetTimestamp
(HttpSysRequestTimingType.Http3StreamStart, out var streamStart));
258
Assert.False(requestTimingFeature.
TryGetTimestamp
((HttpSysRequestTimingType)int.MaxValue, out var invalid));