1 write to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
67ServiceContext = serviceContext;
9 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\KestrelServerImpl.cs (9)
73_transportManager = new TransportManager(_transportFactories, _multiplexedTransportFactories, _httpsConfigurationService, ServiceContext); 113public KestrelServerOptions Options => ServiceContext.ServerOptions; 118private KestrelTrace Trace => ServiceContext.Log; 135ServiceContext.Heartbeat?.Start(); 195options.UseHttpServer(ServiceContext, application, options.Protocols, addAltSvcHeader); 199connectionDelegate = EnforceConnectionLimit(connectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 214options.UseHttp3Server(ServiceContext, application, options.Protocols, addAltSvcHeader); 218multiplexedConnectionDelegate = EnforceConnectionLimit(multiplexedConnectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 251ServiceContext.Heartbeat?.Dispose();