10 references to ToTicks
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http2\Http2KeepAlive.cs (2)
37
_keepAliveInterval = keepAliveInterval.
ToTicks
(timeProvider);
39
: keepAliveTimeout.
ToTicks
(timeProvider);
Internal\Http3\Http3Connection.cs (1)
259
var requestHeadersTimeout = serviceContext.ServerOptions.Limits.RequestHeadersTimeout.
ToTicks
(
Internal\Infrastructure\TimeExtensions.cs (1)
38
return timeStamp + timeSpan.
ToTicks
(timeProvider);
Internal\Infrastructure\TimeoutControl.cs (6)
39
_heartbeatIntervalTicks = Heartbeat.Interval.
ToTicks
(_timeProvider);
191
var timeoutTicks = timeout.
ToTicks
(_timeProvider);
208
_minReadRateGracePeriodTicks = minRate.GracePeriod.
ToTicks
(_timeProvider);
290
var ticksToCompleteWriteAtMinRate = TimeSpan.FromSeconds(count / minRate.BytesPerSecond).
ToTicks
(_timeProvider);
296
minRate.GracePeriod.
ToTicks
(_timeProvider),
339
var gracePeriod = timestamp + minRate.GracePeriod.
ToTicks
(_timeProvider);