1 write to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
68ServiceContext = serviceContext;
9 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Internal\KestrelServerImpl.cs (9)
74_transportManager = new TransportManager(_transportFactories, _multiplexedTransportFactories, _httpsConfigurationService, ServiceContext); 115public KestrelServerOptions Options => ServiceContext.ServerOptions; 120private KestrelTrace Trace => ServiceContext.Log; 137ServiceContext.Heartbeat?.Start(); 197options.UseHttpServer(ServiceContext, application, options.Protocols, addAltSvcHeader); 201connectionDelegate = EnforceConnectionLimit(connectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 216options.UseHttp3Server(ServiceContext, application, options.Protocols, addAltSvcHeader); 220multiplexedConnectionDelegate = EnforceConnectionLimit(multiplexedConnectionDelegate, Options.Limits.MaxConcurrentConnections, Trace, ServiceContext.Metrics); 253ServiceContext.Heartbeat?.Dispose();