1 write to _context
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpProtocol.cs (1)
82
_context
= context;
16 references to _context
Microsoft.AspNetCore.Server.Kestrel.Core (16)
Internal\Http\HttpProtocol.cs (12)
93
public ServiceContext ServiceContext =>
_context
.ServiceContext;
94
private IPEndPoint? LocalEndPoint =>
_context
.LocalEndPoint;
95
private IPEndPoint? RemoteEndPoint =>
_context
.RemoteEndPoint;
96
public ITimeoutControl TimeoutControl =>
_context
.TimeoutControl;
98
public IFeatureCollection ConnectionFeatures =>
_context
.ConnectionFeatures;
105
protected string ConnectionId =>
_context
.ConnectionId;
628
if (
_context
.InitialExecutionContext is null)
631
_context
.InitialExecutionContext = ExecutionContext.Capture();
638
ExecutionContext.Restore(
_context
.InitialExecutionContext);
1237
if (
_context
.AltSvcHeader != null && !responseHeaders.HasAltSvc)
1239
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);