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