1 write to Request
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
111
Request
= new Request(this);
57 references to Request
Microsoft.AspNetCore.Server.HttpSys (57)
RequestProcessing\ClientCertLoader.cs (2)
163
RequestContext.
Request
.UConnectionId,
242
requestContext.
Request
.UConnectionId,
RequestProcessing\RequestContext.cs (12)
37
public WindowsPrincipal User =>
Request
.User;
54
var connectionDisconnectToken = Server.DisconnectListener.GetTokenForConnection(
Request
.UConnectionId);
78
*((ulong*)&guid) =
Request
.RequestId;
83
public bool IsUpgradableRequest =>
Request
.IsUpgradable;
91
if (
Request
.ProtocolVersion != System.Net.HttpVersion.Version11)
107
Request
.SwitchToOpaqueMode();
109
var opaqueStream = new OpaqueStream(
Request
.Body, Response.Body);
139
Request
.Dispose();
176
Request
?.Dispose();
260
var statusCode = HttpApi.HttpSetRequestProperty(Server.RequestQueue.Handle,
Request
.RequestId, HTTP_REQUEST_PROPERTY.HttpRequestPropertyStreamError, &streamError,
288
if (
Request
.HasRequestBodyStarted)
315
Request
.RequestId,
RequestProcessing\RequestContext.FeatureCollection.cs (34)
128
_requestHeaders =
Request
.Headers;
129
_httpMethod =
Request
.Method;
130
_path =
Request
.Path;
131
_pathBase =
Request
.PathBase;
132
_query =
Request
.QueryString;
133
_rawTarget =
Request
.RawUrl;
134
_scheme =
Request
.Scheme;
162
_requestBody =
Request
.Body;
204
_httpProtocolVersion = HttpProtocol.GetHttpProtocol(
Request
.ProtocolVersion);
234
bool IHttpRequestBodyDetectionFeature.CanHaveBody =>
Request
.HasEntityBody;
242
_localIpAddress =
Request
.LocalIpAddress;
260
_remoteIpAddress =
Request
.RemoteIpAddress;
278
_localPort =
Request
.LocalPort;
296
_remotePort =
Request
.RemotePort;
314
_connectionId =
Request
.ConnectionId.ToString(CultureInfo.InvariantCulture);
335
_clientCert =
Request
.ClientCertificate;
362
||
Request
.ProtocolVersion >= HttpVersion.Version20)
371
return _clientCert = await
Request
.GetClientCertificateAsync(cancellation);
377
return
Request
.IsHttps ? this : null;
382
return
Request
.IsHttps ? this : null;
387
if (
Request
.ProtocolVersion >= HttpVersion.Version20 && HttpApi.SupportsTrailers)
396
if (
Request
.ProtocolVersion >= HttpVersion.Version20 && HttpApi.SupportsReset)
585
bool IHttpMaxRequestBodySizeFeature.IsReadOnly =>
Request
.HasRequestBodyStarted;
589
get =>
Request
.MaxRequestBodySize;
590
set =>
Request
.MaxRequestBodySize = value;
593
SslProtocols ITlsHandshakeFeature.Protocol =>
Request
.Protocol;
596
CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm =>
Request
.CipherAlgorithm;
598
int ITlsHandshakeFeature.CipherStrength =>
Request
.CipherStrength;
600
HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm =>
Request
.HashAlgorithm;
602
int ITlsHandshakeFeature.HashStrength =>
Request
.HashStrength;
604
ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm =>
Request
.KeyExchangeAlgorithm;
606
int ITlsHandshakeFeature.KeyExchangeStrength =>
Request
.KeyExchangeStrength;
609
string ITlsHandshakeFeature.HostName =>
Request
.SniHostName;
617
public bool CanDelegate =>
Request
.CanDelegate;
RequestProcessing\RequestContextOfT.cs (2)
74
if (
Request
.ProtocolVersion == HttpVersion.Version20)
79
else if (
Request
.ProtocolVersion == HttpVersion.Version30)
RequestProcessing\RequestStream.cs (4)
38
private ulong RequestId => RequestContext.
Request
.RequestId;
118
dataRead = _requestContext.
Request
.GetChunks(ref _dataChunkIndex, ref _dataChunkOffset, buffer, offset, size);
209
dataRead = _requestContext.
Request
.GetChunks(ref _dataChunkIndex, ref _dataChunkOffset, buffer, offset, size);
323
var contentLength = RequestContext.
Request
.ContentLength;
RequestProcessing\Response.cs (1)
67
private Request Request => RequestContext.
Request
;
RequestProcessing\ResponseBody.cs (2)
36
private ulong RequestId => RequestContext.
Request
.RequestId;
471
if (_requestContext.
Request
.IsHeadMethod)