1 write to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
66ServiceContext = serviceContext;
9 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\KestrelServerImpl.cs (9)
72_transportManager = new TransportManager(_transportFactories, _multiplexedTransportFactories, _httpsConfigurationService, ServiceContext); 112public KestrelServerOptions Options => ServiceContext.ServerOptions; 116private KestrelTrace Trace => ServiceContext.Log; 133ServiceContext.Heartbeat?.Start(); 193options.UseHttpServer(ServiceContext, application, options.Protocols, addAltSvcHeader); 197connectionDelegate = EnforceConnectionLimit(connectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 212options.UseHttp3Server(ServiceContext, application, options.Protocols, addAltSvcHeader); 216multiplexedConnectionDelegate = EnforceConnectionLimit(multiplexedConnectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 249ServiceContext.Heartbeat?.Dispose();