68 references to Request
System (28)
net\System\Net\_ListenerRequestStream.cs (6)
126dataRead = UnsafeNclNativeMethods.HttpApi.GetChunks(m_HttpContext.Request.RequestBuffer, m_HttpContext.Request.OriginalBlobAddress, ref m_DataChunkIndex, ref m_DataChunkOffset, buffer, offset, size); 211dataRead = UnsafeNclNativeMethods.HttpApi.GetChunks(m_HttpContext.Request.RequestBuffer, m_HttpContext.Request.OriginalBlobAddress, ref m_DataChunkIndex, ref m_DataChunkOffset, buffer, offset, size); 358return UnsafeNclNativeMethods.HttpApi.GetChunks(m_HttpContext.Request.RequestBuffer, 359m_HttpContext.Request.OriginalBlobAddress,
net\System\Net\_ListenerResponseStream.cs (1)
397if ((m_HttpContext.Response.BoundaryType==BoundaryType.Chunked || m_HttpContext.Response.BoundaryType==BoundaryType.None) && (String.Compare(m_HttpContext.Request.HttpMethod, "HEAD", StringComparison.OrdinalIgnoreCase)!=0)) {
net\System\Net\HttpListener.cs (12)
1233if (Logging.On) Logging.Exit(Logging.HttpListener, this, "GetContext", "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + (httpContext != null ? httpContext.Request.RequestTraceIdentifier.ToString() : "<null>")); 1306if(Logging.On)Logging.Exit(Logging.HttpListener, this, "EndGetContext", httpContext == null ? "<no context>" : "HttpListenerContext#" + ValidationHelper.HashString(httpContext) + " RequestTraceIdentifier#" + httpContext.Request.RequestTraceIdentifier); 1359ntlmContext.Request.ReleasePins(); 1405httpContext.Request.ReleasePins(); 1406authenticationScheme = authenticationSelector.Delegate(httpContext.Request); 1438extendedProtectionPolicy = extendedProtectionSelector(httpContext.Request); 1507httpContext.Request.ReleasePins(); 1582httpContext.Request.ServiceName = context.ClientSpecifiedSpn; 1682httpContext.Request.ServiceName = context.ClientSpecifiedSpn; 1904httpContext.Request.ReleasePins(); 1981httpContext.Request.DetachBlob(memoryBlob); 1994HttpListenerRequest request = context.Request;
net\System\Net\HttpListenerContext.cs (3)
149return Request.RequestId; 238return UnsafeNclNativeMethods.HttpApi.GetKnownVerb(Request.RequestBuffer, Request.OriginalBlobAddress);
net\System\Net\HttpListenerResponse.cs (1)
66return HttpListenerContext.Request;
net\System\Net\WebSockets\WebSocketHelpers.cs (5)
83HttpListenerRequest request = context.Request; 320if (!context.Request.IsWebSocketRequest) 328context.Request.Headers[HttpKnownHeaderNames.Upgrade])); 331string secWebSocketVersion = context.Request.Headers[HttpKnownHeaderNames.SecWebSocketVersion]; 349if (string.IsNullOrWhiteSpace(context.Request.Headers[HttpKnownHeaderNames.SecWebSocketKey]))
System.ServiceModel (40)
System\ServiceModel\Channels\HttpChannelListener.cs (2)
500Fx.Assert(listenerContext.Request != null, "IsAuthenticated should only be called if listenerContext.Request != null"); 501return this.IsAuthenticationRequired || (this.IsAuthenticationSupported && listenerContext.Request.IsAuthenticated);
System\ServiceModel\Channels\HttpRequestContext.cs (25)
782get { return listenerContext.Request.HttpMethod; } 787get { return this.listenerContext.Request.IsWebSocketRequest; } 822if (this.listenerContext.Request.RemoteEndPoint != null) 824remoteEndpointMessageProperty = new RemoteEndpointMessageProperty(this.listenerContext.Request.RemoteEndPoint); 833if (listenerContext.Request.ContentLength64 == -1 && !OSEnvironmentHelper.IsVistaOrGreater) 844string acceptEncoding = listenerContext.Request.Headers[HttpChannelUtilities.AcceptEncodingHeader]; 886HttpListenerRequest listenerRequest = this.listenerContext.Request; 906if (this.listenerHttpContext.listenerContext.Request.ContentLength64 == -1) 909if (this.listenerHttpContext.listenerContext.Request.InputStream.Read(preReadBuffer, 0, 1) == 0) 920return this.listenerHttpContext.listenerContext.Request.ContentLength64; 930this.cachedContentType = this.listenerHttpContext.listenerContext.Request.ContentType; 946return this.listenerHttpContext.listenerContext.Request.Headers["SOAPAction"]; 954return ChannelBindingUtility.GetToken(this.listenerHttpContext.listenerContext.Request.TransportContext); 961requestProperty.Method = this.listenerHttpContext.listenerContext.Request.HttpMethod; 964if (this.listenerHttpContext.listenerContext.Request.Url.Query.Length > 1) 966requestProperty.QueryString = this.listenerHttpContext.listenerContext.Request.Url.Query.Substring(1); 970message.Properties.Via = this.listenerHttpContext.listenerContext.Request.Url; 972RemoteEndpointMessageProperty remoteEndpointProperty = new RemoteEndpointMessageProperty(this.listenerHttpContext.listenerContext.Request.RemoteEndPoint); 978message.Method = new HttpMethod(this.listenerHttpContext.listenerContext.Request.HttpMethod); 979message.RequestUri = this.listenerHttpContext.listenerContext.Request.Url; 980foreach (string webHeaderKey in this.listenerHttpContext.listenerContext.Request.Headers.Keys) 982message.AddHeader(webHeaderKey, this.listenerHttpContext.listenerContext.Request.Headers[webHeaderKey]); 984message.Properties.Add(RemoteEndpointMessageProperty.Name, new RemoteEndpointMessageProperty(this.listenerHttpContext.listenerContext.Request.RemoteEndPoint)); 1002: base(listenerHttpContext.listenerContext.Request.InputStream) 1007: base(new PreReadStream(listenerHttpContext.listenerContext.Request.InputStream, preReadBuffer))
System\ServiceModel\Channels\HttpsChannelListener.cs (5)
249X509Certificate certificate = listenerContext.Request.GetClientCertificate(); 257Fx.Assert(listenerContext.Request.ClientCertificateError == 0, 356HttpListenerRequest request = listenerContext.Request; 366new HttpListenerRequestTraceRecord(listenerContext.Request), this, null); 377new HttpListenerRequestTraceRecord(listenerContext.Request), this, null);
System\ServiceModel\Channels\SharedHttpTransportManager.cs (8)
286ServiceModelActivity activity = DiagnosticUtility.ShouldUseActivity ? ServiceModelActivity.CreateBoundedActivityWithTransferInOnly(listenerContext.Request.RequestTraceIdentifier) : null; 291StartReceiveBytesActivity(activity, listenerContext.Request.Url); 295TraceUtility.TraceHttpConnectionInformation(listenerContext.Request.LocalEndPoint.ToString(), 296listenerContext.Request.RemoteEndPoint.ToString(), this); 302if (base.TryLookupUri(listenerContext.Request.Url, 303listenerContext.Request.HttpMethod, 305listenerContext.Request.IsWebSocketRequest, 428if (string.Compare(listenerContext.Request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase) != 0)