1 write to Request
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
111Request = new Request(this);
57 references to Request
Microsoft.AspNetCore.Server.HttpSys (57)
RequestProcessing\ClientCertLoader.cs (2)
163RequestContext.Request.UConnectionId, 242requestContext.Request.UConnectionId,
RequestProcessing\RequestContext.cs (12)
37public WindowsPrincipal User => Request.User; 54var connectionDisconnectToken = Server.DisconnectListener.GetTokenForConnection(Request.UConnectionId); 78*((ulong*)&guid) = Request.RequestId; 83public bool IsUpgradableRequest => Request.IsUpgradable; 91if (Request.ProtocolVersion != System.Net.HttpVersion.Version11) 107Request.SwitchToOpaqueMode(); 109var opaqueStream = new OpaqueStream(Request.Body, Response.Body); 139Request.Dispose(); 176Request?.Dispose(); 260var statusCode = HttpApi.HttpSetRequestProperty(Server.RequestQueue.Handle, Request.RequestId, HTTP_REQUEST_PROPERTY.HttpRequestPropertyStreamError, &streamError, 288if (Request.HasRequestBodyStarted) 315Request.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); 234bool 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) 371return _clientCert = await Request.GetClientCertificateAsync(cancellation); 377return Request.IsHttps ? this : null; 382return Request.IsHttps ? this : null; 387if (Request.ProtocolVersion >= HttpVersion.Version20 && HttpApi.SupportsTrailers) 396if (Request.ProtocolVersion >= HttpVersion.Version20 && HttpApi.SupportsReset) 585bool IHttpMaxRequestBodySizeFeature.IsReadOnly => Request.HasRequestBodyStarted; 589get => Request.MaxRequestBodySize; 590set => Request.MaxRequestBodySize = value; 593SslProtocols ITlsHandshakeFeature.Protocol => Request.Protocol; 596CipherAlgorithmType ITlsHandshakeFeature.CipherAlgorithm => Request.CipherAlgorithm; 598int ITlsHandshakeFeature.CipherStrength => Request.CipherStrength; 600HashAlgorithmType ITlsHandshakeFeature.HashAlgorithm => Request.HashAlgorithm; 602int ITlsHandshakeFeature.HashStrength => Request.HashStrength; 604ExchangeAlgorithmType ITlsHandshakeFeature.KeyExchangeAlgorithm => Request.KeyExchangeAlgorithm; 606int ITlsHandshakeFeature.KeyExchangeStrength => Request.KeyExchangeStrength; 609string ITlsHandshakeFeature.HostName => Request.SniHostName; 617public bool CanDelegate => Request.CanDelegate;
RequestProcessing\RequestContextOfT.cs (2)
74if (Request.ProtocolVersion == HttpVersion.Version20) 79else if (Request.ProtocolVersion == HttpVersion.Version30)
RequestProcessing\RequestStream.cs (4)
38private ulong RequestId => RequestContext.Request.RequestId; 118dataRead = _requestContext.Request.GetChunks(ref _dataChunkIndex, ref _dataChunkOffset, buffer, offset, size); 209dataRead = _requestContext.Request.GetChunks(ref _dataChunkIndex, ref _dataChunkOffset, buffer, offset, size); 323var contentLength = RequestContext.Request.ContentLength;
RequestProcessing\Response.cs (1)
67private Request Request => RequestContext.Request;
RequestProcessing\ResponseBody.cs (2)
36private ulong RequestId => RequestContext.Request.RequestId; 471if (_requestContext.Request.IsHeadMethod)