1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
89
_context
= context;
16 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (16)
Internal\Http\HttpProtocol.cs (12)
100
public ServiceContext ServiceContext =>
_context
.ServiceContext;
101
private IPEndPoint? LocalEndPoint =>
_context
.LocalEndPoint;
102
private IPEndPoint? RemoteEndPoint =>
_context
.RemoteEndPoint;
103
public ITimeoutControl TimeoutControl =>
_context
.TimeoutControl;
105
public IFeatureCollection ConnectionFeatures =>
_context
.ConnectionFeatures;
112
protected string ConnectionId =>
_context
.ConnectionId;
635
if (
_context
.InitialExecutionContext is null)
638
_context
.InitialExecutionContext = ExecutionContext.Capture();
645
ExecutionContext.Restore(
_context
.InitialExecutionContext);
1244
if (
_context
.AltSvcHeader != null && !responseHeaders.HasAltSvc)
1246
responseHeaders.SetRawAltSvc(
_context
.AltSvcHeader.Value,
_context
.AltSvcHeader.RawBytes);
Internal\Http\HttpProtocol.FeatureCollection.cs (4)
95
RequestBodyPipeReader = PipeReader.Create(RequestBody, new StreamPipeReaderOptions(
_context
.MemoryPool,
_context
.MemoryPool.GetMinimumSegmentSize(),
_context
.MemoryPool.GetMinimumAllocSize(), useZeroByteReads: true));
279
ServiceContext.Metrics.RequestUpgradedStart(
_context
.MetricsContext);