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)
259var requestHeadersTimeout = serviceContext.ServerOptions.Limits.RequestHeadersTimeout.ToTicks(
Internal\Infrastructure\TimeExtensions.cs (1)
38return timeStamp + timeSpan.ToTicks(timeProvider);
Internal\Infrastructure\TimeoutControl.cs (6)
39_heartbeatIntervalTicks = Heartbeat.Interval.ToTicks(_timeProvider); 191var timeoutTicks = timeout.ToTicks(_timeProvider); 208_minReadRateGracePeriodTicks = minRate.GracePeriod.ToTicks(_timeProvider); 290var ticksToCompleteWriteAtMinRate = TimeSpan.FromSeconds(count / minRate.BytesPerSecond).ToTicks(_timeProvider); 296minRate.GracePeriod.ToTicks(_timeProvider), 339var gracePeriod = timestamp + minRate.GracePeriod.ToTicks(_timeProvider);