1 instantiation of ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\KestrelServerImpl.cs (1)
95
return new
ServiceContext
25 references to ServiceContext
Microsoft.AspNetCore.Server.Kestrel.Core (25)
Internal\BaseHttpConnectionContext.cs (2)
19
ServiceContext
serviceContext,
42
public
ServiceContext
ServiceContext { get; }
Internal\ConnectionDispatcher.cs (2)
12
private readonly
ServiceContext
_serviceContext;
17
public ConnectionDispatcher(
ServiceContext
serviceContext, Func<T, Task> connectionDelegate, TransportConnectionManager transportConnectionManager)
Internal\Http\HttpProtocol.cs (1)
100
public
ServiceContext
ServiceContext => _context.ServiceContext;
Internal\Http2\Http2FrameWriter.cs (1)
118
ServiceContext
serviceContext)
Internal\Http2\Http2StreamContext.cs (1)
20
ServiceContext
serviceContext,
Internal\Http3\Http3Connection.cs (1)
258
var
serviceContext = _context.ServiceContext;
Internal\Http3\Http3StreamContext.cs (1)
20
ServiceContext
serviceContext,
Internal\HttpConnectionContext.cs (1)
20
ServiceContext
serviceContext,
Internal\HttpMultiplexedConnectionContext.cs (1)
19
ServiceContext
serviceContext,
Internal\Infrastructure\KestrelConnection.cs (2)
21
protected readonly
ServiceContext
_serviceContext;
25
ServiceContext
serviceContext,
Internal\Infrastructure\KestrelConnectionOfT.cs (1)
17
ServiceContext
serviceContext,
Internal\Infrastructure\TransportManager.cs (2)
19
private readonly
ServiceContext
_serviceContext;
25
ServiceContext
serviceContext)
Internal\KestrelServerImpl.cs (3)
53
ServiceContext
serviceContext)
75
private static
ServiceContext
CreateServiceContext(IOptions<KestrelServerOptions> options, ILoggerFactory loggerFactory, DiagnosticSource? diagnosticSource, KestrelMetrics metrics)
114
private
ServiceContext
ServiceContext { get; }
Middleware\HttpConnectionBuilderExtensions.cs (2)
11
public static IConnectionBuilder UseHttpServer<TContext>(this IConnectionBuilder builder,
ServiceContext
serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader) where TContext : notnull
20
public static IMultiplexedConnectionBuilder UseHttp3Server<TContext>(this IMultiplexedConnectionBuilder builder,
ServiceContext
serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader) where TContext : notnull
Middleware\HttpConnectionMiddleware.cs (2)
15
private readonly
ServiceContext
_serviceContext;
20
public HttpConnectionMiddleware(
ServiceContext
serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader)
Middleware\HttpMultiplexedConnectionMiddleware.cs (2)
15
private readonly
ServiceContext
_serviceContext;
20
public HttpMultiplexedConnectionMiddleware(
ServiceContext
serviceContext, IHttpApplication<TContext> application, HttpProtocols protocols, bool addAltSvcHeader)