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