4 instantiations of HttpWebRequest
System (4)
net\System\Net\_Connection.cs (1)
3797
connectRequest = new
HttpWebRequest
(
net\System\Net\FtpWebRequest.cs (1)
1964
m_HttpWebRequest = new
HttpWebRequest
(m_Uri, ServicePoint);
net\System\Net\Internal.cs (2)
1689
return new
HttpWebRequest
(Uri, null);
1734
HttpWebRequest request = new
HttpWebRequest
(uriBuilder.Uri, null, true, "WebSocket" + Guid.NewGuid());
337 references to HttpWebRequest
PresentationCore (12)
Core\CSharp\MS\Internal\AppModel\CookieHandler.cs (2)
37
HttpWebRequest
httpRequest = request as
HttpWebRequest
;
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (4)
509
private
HttpWebRequest
CreateHttpWebRequest(int[,] byteRanges)
511
HttpWebRequest
request;
514
request = (
HttpWebRequest
)WpfWebRequestHelper.CreateRequest(_requestedUri);
971
private
HttpWebRequest
_webRequest;
Core\CSharp\MS\Internal\WpfWebRequestHelper.cs (6)
99
HttpWebRequest
httpRequest = request as
HttpWebRequest
;
135
HttpWebRequest
httpRequest = request as
HttpWebRequest
;
238
if (response is HttpWebResponse && !(request is
HttpWebRequest
))
260
if (response is HttpWebResponse && !(request is
HttpWebRequest
))
PresentationFramework (3)
src\Framework\System\Windows\Navigation\NavigationService.cs (3)
3286
if ((_request is
HttpWebRequest
) &&
3287
(
HttpWebRequest
.DefaultCachePolicy != null) &&
3288
(
HttpWebRequest
.DefaultCachePolicy is HttpRequestCachePolicy))
System (185)
net\System\Net\_AuthenticationManager2.cs (4)
64
HttpWebRequest
httpWebRequest = request as
HttpWebRequest
;
121
HttpWebRequest
httpWebRequest = request as
HttpWebRequest
;
net\System\Net\_AuthenticationManagerDefault.cs (4)
186
HttpWebRequest
httpWebRequest = request as
HttpWebRequest
;
248
HttpWebRequest
httpWebRequest = request as
HttpWebRequest
;
net\System\Net\_AuthenticationState.cs (7)
94
private void PrepareState(
HttpWebRequest
httpWebRequest)
114
internal SpnToken GetComputeSpn(
HttpWebRequest
httpWebRequest)
177
internal void PreAuthIfNeeded(
HttpWebRequest
httpWebRequest, ICredentials authInfo) {
209
internal bool AttemptAuthenticate(
HttpWebRequest
httpWebRequest, ICredentials authInfo) {
308
internal void ClearAuthReq(
HttpWebRequest
httpWebRequest) {
325
internal void Update(
HttpWebRequest
httpWebRequest) {
408
internal void ClearSession(
HttpWebRequest
httpWebRequest) {
net\System\Net\_BasicClient.cs (5)
30
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
68
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
85
private Authorization Lookup(
HttpWebRequest
httpWebRequest, ICredentials credentials) {
net\System\Net\_Connection.cs (63)
70
internal TunnelStateObject(
HttpWebRequest
r, Connection c){
76
internal
HttpWebRequest
OriginalRequest;
89
internal
HttpWebRequest
Request;
92
internal RequestContext(
HttpWebRequest
request, object coreResponse)
117
internal static void Add(ref ConnectionReturnResult returnResult,
HttpWebRequest
request, CoreResponseData coreResponseData)
136
internal static void AddExceptionRange(ref ConnectionReturnResult returnResult,
HttpWebRequest
[] requests, Exception exception)
140
internal static void AddExceptionRange(ref ConnectionReturnResult returnResult,
HttpWebRequest
[] requests, int abortedPipelinedRequestIndex, Exception exception, Exception firstRequestException)
182
HttpWebRequest
request = returnResult.m_Context[i].Request;
252
private
HttpWebRequest
request;
255
public
HttpWebRequest
Request
265
public WaitListItem(
HttpWebRequest
request, long queueStartTime)
338
private
HttpWebRequest
m_LockedRequest;
339
private
HttpWebRequest
m_CurrentRequest; // This is the request whose response is being parsed, same as WriteList[0] but could be different if request was aborted.
377
internal
HttpWebRequest
LockedRequest {
382
HttpWebRequest
myLock = m_LockedRequest;
588
internal bool SubmitRequest(
HttpWebRequest
request, bool forcedsubmit)
787
private void UnlockIfNeeded(
HttpWebRequest
request) {
831
private TriState StartRequest(
HttpWebRequest
request, bool canPollRead)
943
private void CompleteStartRequest(bool onSubmitThread,
HttpWebRequest
request, TriState needReConnect) {
1011
private
HttpWebRequest
CheckNextRequest()
1025
HttpWebRequest
nextRequest = item.Request;
1046
private void CompleteStartConnection(bool async,
HttpWebRequest
httpWebRequest)
1133
CompleteConnection(true, (
HttpWebRequest
) request);
1141
private void CompleteConnection(bool async,
HttpWebRequest
request)
1219
private void InternalWriteStartNextRequest(
HttpWebRequest
request, ref bool calledCloseConnection, ref TriState startRequestResult, ref
HttpWebRequest
nextRequest, ref ConnectionReturnResult returnResult) {
1310
internal void WriteStartNextRequest(
HttpWebRequest
request, ref ConnectionReturnResult returnResult) {
1315
HttpWebRequest
nextRequest = null;
1372
HttpWebRequest
nextRequest = null;
1439
HttpWebRequest
httpWebRequest = currentRequest as
HttpWebRequest
;
1457
nextRequest = m_WriteList[0] as
HttpWebRequest
;
1561
internal void CheckStartReceive(
HttpWebRequest
request)
1582
m_CurrentRequest = (
HttpWebRequest
)m_WriteList[0];
2173
private long ProcessHeaderData(ref bool fHaveChunked,
HttpWebRequest
request, out bool dummyResponseStream)
2183
fHaveChunked = transferEncodingString.IndexOf(
HttpWebRequest
.ChunkedHeader) != -1;
2259
else if (m_ResponseData.m_StatusCode >
HttpWebRequest
.MaxOkStatus &&
2394
if (m_ResponseData.m_StatusCode >
HttpWebRequest
.MaxOkStatus)
2549
if (m_WriteList.Count == 0 || ((m_CurrentRequest = m_WriteList[0] as
HttpWebRequest
) == null))
2808
internal bool AbortOrDisassociate(
HttpWebRequest
request, WebException webException)
2942
HttpWebRequest
lockedRequest = LockedRequest;
2949
foreach (
HttpWebRequest
request in m_WriteList)
2969
HttpWebRequest
[] requestArray = null;
2974
requestArray = new
HttpWebRequest
[m_WaitList.Count];
3064
HttpWebRequest
request = (
HttpWebRequest
) m_WriteList[0];
3070
retry = (!AtLeastOneResponseReceived && !((
HttpWebRequest
) m_WriteList[0]).BodyStarted);
3086
requestArray = new
HttpWebRequest
[m_WriteList.Count];
3236
HttpWebRequest
curRequest = m_CurrentRequest;
3275
internal void PollAndRead(
HttpWebRequest
request, bool userRetrievedStream) {
3294
internal void SyncRead(
HttpWebRequest
request, bool userRetrievedStream, bool probeRead)
3429
HttpWebRequest
currentRequest = null;
3456
HttpWebRequest
curRequest = m_CurrentRequest;
3604
HttpWebRequest
curRequest = m_CurrentRequest;
3714
HttpWebRequest
curRequest = m_CurrentRequest;
3739
HttpWebRequest
req = (
HttpWebRequest
)((LazyAsyncResult)result).AsyncObject;
3741
HttpWebRequest
originalReq = (
HttpWebRequest
)((TunnelStateObject)result.AsyncState).OriginalRequest;
3787
private bool TunnelThroughProxy(Uri proxy,
HttpWebRequest
originalRequest, bool async) {
3791
HttpWebRequest
connectRequest = null;
3890
DebugDumpListEntry(i, m_WriteList[i] as
HttpWebRequest
, "WriteList");
3903
private void DebugDumpListEntry(int currentPos,
HttpWebRequest
req, string listType) {
net\System\Net\_ConnectionGroup.cs (5)
208
private bool Abort(
HttpWebRequest
request, WebException webException)
225
foreach(
HttpWebRequest
request in AuthenticationRequestQueue) {
299
private Connection FindMatchingConnection(
HttpWebRequest
request, string connName, out Connection leastbusyConnection) {
361
private Connection FindConnectionAuthenticationGroup(
HttpWebRequest
request, string connName) {
453
internal Connection FindConnection(
HttpWebRequest
request, string connName, out bool forcedsubmit) {
net\System\Net\_ConnectStream.cs (7)
22
internal
HttpWebRequest
request;
25
internal WriteHeadersCallbackState(
HttpWebRequest
request, ConnectStream stream){
97
private
HttpWebRequest
m_Request;
201
public ConnectStream(Connection connection,
HttpWebRequest
request) {
253
public ConnectStream(Connection connection, byte[] buffer, int offset, int bufferCount, long readCount, bool chunked,
HttpWebRequest
request)
2105
HttpWebRequest
request = state.request;
2713
HttpWebRequest
req = m_Request;
net\System\Net\_CookieModule.cs (2)
19
internal static void OnSendingHeaders(
HttpWebRequest
httpWebRequest) {
53
internal static void OnReceivedHeaders(
HttpWebRequest
httpWebRequest) {
net\System\Net\_DigestClient.cs (10)
57
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
181
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
259
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
274
private Authorization XPDoAuthenticate(string challenge,
HttpWebRequest
httpWebRequest, ICredentials credentials, bool preAuthenticate) {
403
private bool XPUpdate(string challenge,
HttpWebRequest
httpWebRequest) {
552
internal void SetFromRequest(
HttpWebRequest
httpWebRequest) {
785
internal static HttpDigestChallenge Interpret(string challenge, int startingPoint,
HttpWebRequest
httpWebRequest) {
net\System\Net\_KerberosClient.cs (6)
34
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
143
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
202
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
net\System\Net\_LoggingObject.cs (3)
1155
internal static void DebugAddRequest(
HttpWebRequest
request, Connection connection, int flags) {
1176
internal static void DebugRemoveRequest(
HttpWebRequest
request) {
1194
internal static void DebugUpdateRequest(
HttpWebRequest
request, Connection connection, int flags) {
net\System\Net\_NegotiateClient.cs (6)
31
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
158
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
225
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
net\System\Net\_NtlmClient.cs (6)
32
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
151
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
190
HttpWebRequest
httpWebRequest = webRequest as
HttpWebRequest
;
net\System\Net\_ProxyChain.cs (1)
66
internal bool HttpAbort(
HttpWebRequest
request, WebException webException)
net\System\Net\_TLSstream.cs (1)
76
m_Worker = new SslState(networkStream, initiatingRequest is
HttpWebRequest
, SettingsSectionInternal.Section.EncryptionPolicy);
net\System\Net\Cache\_Rfc2616CacheValidators.cs (2)
1429
((
HttpWebRequest
)ctx.Request).AddRange((int)ctx.CacheEntry.StreamSize);
1518
((
HttpWebRequest
)ctx.Request).AddRange((int)ctx.CacheEntry.StreamSize);
net\System\Net\Cache\FtpRequestCacheValidator.cs (1)
69
if (Request is
HttpWebRequest
)
net\System\Net\FtpWebRequest.cs (6)
218
private
HttpWebRequest
m_HttpWebRequest;
603
HttpWebRequest
httpWebRequest = GetHttpWebRequest();
738
HttpWebRequest
httpWebRequest = GetHttpWebRequest();
918
HttpWebRequest
httpWebRequest = GetHttpWebRequest();
970
HttpWebRequest
httpWebRequest = GetHttpWebRequest();
1954
private
HttpWebRequest
GetHttpWebRequest() {
net\System\Net\HttpListenerRequest.cs (1)
393
if (
HttpWebRequest
.ChunkedHeader.Equals(GetKnownHeader(HttpRequestHeader.TransferEncoding),
net\System\Net\HttpListenerResponse.cs (1)
673
Headers.SetInternal(HttpResponseHeader.TransferEncoding,
HttpWebRequest
.ChunkedHeader);
net\System\Net\HttpVersion.cs (1)
11
/// Defines the HTTP version number supported by the <see cref='System.Net.
HttpWebRequest
'/> and
net\System\Net\HttpWebRequest.cs (10)
29
/// <see cref='System.Net.
HttpWebRequest
'/> is an HTTP-specific implementation of the <see cref='System.Net.WebRequest'/> class.
3264
((
HttpWebRequest
) context).Abort(new WebException(NetRes.GetWebStatusString(WebExceptionStatus.Timeout), WebExceptionStatus.Timeout), AbortState.Public);
3325
GlobalLog.Assert(asyncResult == null || this == (
HttpWebRequest
)asyncResult.AsyncObject, "HttpWebRequest#{0}::InvokeGetRequestStreamCallback()|this != asyncResult.AsyncObject", ValidationHelper.HashString(this));
4464
HttpWebRequest
thisHttpWebRequest = (
HttpWebRequest
) context;
4555
((
HttpWebRequest
)state).EndWriteHeaders_Part2();
5181
internal HttpWebRequest(Uri proxyUri, Uri requestUri,
HttpWebRequest
orginalRequest) : this(proxyUri, null) {
6150
int maxBytesToBuffer = (
HttpWebRequest
.DefaultMaximumErrorResponseLength == -1)?buffer.Length:
HttpWebRequest
.DefaultMaximumErrorResponseLength*1024;
6154
if(
HttpWebRequest
.DefaultMaximumErrorResponseLength != -1)
net\System\Net\HttpWebResponse.cs (2)
543
contentEncoding.IndexOf(
HttpWebRequest
.GZipHeader, StringComparison.CurrentCulture) != -1) {
553
contentEncoding.IndexOf(
HttpWebRequest
.DeflateHeader, StringComparison.CurrentCulture) != -1) {
net\System\Net\Internal.cs (2)
1734
HttpWebRequest
request = new HttpWebRequest(uriBuilder.Uri, null, true, "WebSocket" + Guid.NewGuid());
1779
internal delegate bool HttpAbortDelegate(
HttpWebRequest
request, WebException webException);
net\System\Net\NetWebProxyFinder.cs (2)
253
HttpWebRequest
httpWebRequest = request as
HttpWebRequest
;
net\System\Net\ServicePoint.cs (8)
379
internal virtual void SubmitRequest(
HttpWebRequest
request) {
384
internal void SubmitRequest(
HttpWebRequest
request, string connName)
666
HttpWebRequest
.GenerateConnectionGroup(connectionGroupName, unsafeConnectionGroup: false, isInternalGroup: false).ToString();
668
HttpWebRequest
.GenerateConnectionGroup(connectionGroupName, unsafeConnectionGroup: true, isInternalGroup: false).ToString();
670
HttpWebRequest
.GenerateConnectionGroup(connectionGroupName, unsafeConnectionGroup: false, isInternalGroup: true).ToString();
672
HttpWebRequest
.GenerateConnectionGroup(connectionGroupName, unsafeConnectionGroup: true, isInternalGroup: true).ToString();
1062
HttpWebRequest
httpWebRequest = m_Request as
HttpWebRequest
;
net\System\Net\webclient.cs (8)
918
if ((m_headers != null) && (request is
HttpWebRequest
)) {
937
((
HttpWebRequest
)request).Accept = accept;
940
((
HttpWebRequest
)request).Connection = connection;
943
((
HttpWebRequest
)request).ContentType = contentType;
946
((
HttpWebRequest
)request).Expect = expect;
949
((
HttpWebRequest
)request).Referer = referrer;
952
((
HttpWebRequest
)request).UserAgent = userAgent;
955
((
HttpWebRequest
)request).Host = host;
net\System\Net\WebRequest.cs (3)
304
public static
HttpWebRequest
CreateHttp(string requestUriString) {
312
public static
HttpWebRequest
CreateHttp(Uri requestUri) {
319
return (
HttpWebRequest
)CreateDefault(requestUri);
net\System\Net\WebSockets\ClientWebSocket.cs (7)
157
HttpWebRequest
request = CreateAndConfigureRequest(uri);
213
private
HttpWebRequest
CreateAndConfigureRequest(Uri uri)
215
HttpWebRequest
request = WebRequest.Create(uri) as
HttpWebRequest
;
260
private string ValidateResponse(
HttpWebRequest
request, HttpWebResponse response)
364
HttpWebRequest
request = (
HttpWebRequest
)obj;
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
358
internal static void PrepareWebRequest(ref
HttpWebRequest
request)
System.Data.Services.Client (39)
System\Data\Services\Client\DataServiceContext.cs (28)
1910
internal
HttpWebRequest
CreateRequest(Uri requestUri, string method, bool allowAnyType, string contentType, Version requestVersion, bool sendChunked)
1943
HttpWebRequest
request = (
HttpWebRequest
)WebRequest.Create(requestUri);
2023
request = (System.Net.
HttpWebRequest
)args.Request;
2654
private
HttpWebRequest
CreateRequest(LinkDescriptor binding)
2820
private
HttpWebRequest
CreateRequest(EntityDescriptor box, EntityStates state, bool replaceOnUpdate)
2828
HttpWebRequest
request = this.CreateRequest(requestUri, httpMethod, false, XmlConstants.MimeApplicationAtom, requestVersion, false);
3283
HttpWebRequest
request = this.CreateRequest(requestUri, XmlConstants.HttpMethodGet, mediaLink, null, requestVersion, false);
3618
HttpWebRequest
request = this.CreateRequest(requestUri, XmlConstants.HttpMethodGet, true, null, null, false);
3712
internal LoadPropertyResult(object entity, string propertyName, DataServiceContext context,
HttpWebRequest
request, AsyncCallback callback, object state, DataServiceRequest dataServiceRequest, ProjectionPlan plan)
4240
HttpWebRequest
httpWebRequest = this.CreateBatchRequest(memory);
4281
HttpWebRequest
httpWebRequest = this.CreateBatchRequest(memory);
4319
HttpWebRequest
httpWebRequest = null;
4541
private
HttpWebRequest
CreateNextRequest(bool replaceOnUpdate)
4577
HttpWebRequest
req;
4611
private
HttpWebRequest
CheckAndProcessMediaEntryPost(EntityDescriptor entityDescriptor)
4634
HttpWebRequest
mediaRequest = this.CreateMediaResourceRequest(
4711
private
HttpWebRequest
CheckAndProcessMediaEntryPut(EntityDescriptor box)
4727
HttpWebRequest
mediaResourceRequest = this.CreateMediaResourceRequest(requestUri, XmlConstants.HttpMethodPut, true);
4745
private
HttpWebRequest
CreateMediaResourceRequest(Uri requestUri, string method, bool sendChunked)
4758
HttpWebRequest
mediaResourceRequest = this.Context.CreateRequest(
4776
private void SetupMediaResourceRequest(
HttpWebRequest
mediaResourceRequest, EntityDescriptor box)
5048
private
HttpWebRequest
CreateBatchRequest(MemoryStream memory)
5052
HttpWebRequest
httpWebRequest = this.Context.CreateRequest(requestUri, XmlConstants.HttpMethodPost, false, contentType, Util.DataServiceVersion1, false);
5716
HttpWebRequest
httpWebRequest = Util.NullCheck(pereq.Request, InternalError.InvalidEndGetRequestStreamRequest);
5834
HttpWebRequest
httpWebRequest = Util.NullCheck(pereq.Request, InternalError.InvalidEndWriteRequest);
5912
HttpWebRequest
httpWebRequest = Util.NullCheck(pereq.Request, InternalError.InvalidEndGetResponseRequest);
6109
internal
HttpWebRequest
Request
System\Data\Services\Client\DataServiceRequest.cs (2)
201
HttpWebRequest
request = context.CreateRequest(this.QueryComponents.Uri, XmlConstants.HttpMethodGet, false, null, this.QueryComponents.Version, false);
271
HttpWebRequest
request = context.CreateRequest(this.QueryComponents.Uri, XmlConstants.HttpMethodGet, false, null, this.QueryComponents.Version, false);
System\Data\Services\Client\GetReadStreamResult.cs (4)
28
private readonly
HttpWebRequest
request;
38
/// <param name="request">The <see cref="
HttpWebRequest
"/> object which is wrapped by this async result.</param>
44
HttpWebRequest
request,
176
HttpWebRequest
request = Util.NullCheck(state.request, InternalError.InvalidEndGetResponseRequest);
System\Data\Services\Client\QueryResult.cs (3)
32
internal readonly
HttpWebRequest
Request;
89
internal QueryResult(object source, string method, DataServiceRequest serviceRequest,
HttpWebRequest
request, AsyncCallback callback, object state)
550
HttpWebRequest
httpWebRequest = Util.NullCheck(state.Request, InternalError.InvalidEndGetResponseRequest);
System\Data\Services\Client\SendingRequestEventArgs.cs (1)
61
if (!(value is System.Net.
HttpWebRequest
))
System\Data\Services\Client\WebUtil.cs (1)
134
internal static void ApplyHeadersToRequest(Dictionary<string, string> headers,
HttpWebRequest
request, bool ignoreAcceptHeader)
System.Net (1)
AssemblyInfo.cs (1)
23
[assembly: TypeForwardedToAttribute(typeof(System.Net.
HttpWebRequest
))]
System.Runtime.Remoting (9)
channels\http\httpclientchannel.cs (9)
481
HttpWebRequest
httpWebRequest = ProcessAndSend(msg, requestHeaders, requestStream);
556
private
HttpWebRequest
SetupWebRequest(IMessage msg, ITransportHeaders headers)
593
HttpWebRequest
httpWebRequest = (
HttpWebRequest
)WebRequest.Create(fullPath);
688
private
HttpWebRequest
ProcessAndSend(IMessage msg, ITransportHeaders headers,
701
HttpWebRequest
httpWebRequest = null;
924
internal
HttpWebRequest
WebRequest;
1021
HttpWebRequest
httpWebRequest = asyncRequestState.WebRequest;
1075
HttpWebRequest
httpWebRequest = asyncRequestState.WebRequest;
System.ServiceModel (80)
System\ServiceModel\Channels\ClientWebSocketTransportDuplexSessionChannel.cs (8)
24
HttpWebRequest
httpWebRequest;
125
HttpWebRequest
request = null;
241
void ConfigureHttpWebRequestHeader(
HttpWebRequest
request)
263
void CleanupOnError(
HttpWebRequest
request, HttpWebResponse response)
294
HttpWebRequest
CreateHttpWebRequest(TimeSpan timeout)
299
HttpWebRequest
request;
357
void HandleHttpWebResponse(
HttpWebRequest
request, HttpWebResponse response)
462
void UseWebSocketVersionFromFactory(
HttpWebRequest
request)
System\ServiceModel\Channels\HttpChannelFactory.cs (22)
355
internal virtual SecurityMessageProperty CreateReplySecurityProperty(
HttpWebRequest
request,
548
if (!httpWebRequestWebPermissionDenied &&
HttpWebRequest
.DefaultMaximumErrorResponseLength != -1)
565
|| MaxReceivedMessageSizeKbytes >
HttpWebRequest
.DefaultMaximumErrorResponseLength)
569
HttpWebRequest
.DefaultMaximumErrorResponseLength = MaxReceivedMessageSizeKbytes;
616
protected virtual string OnGetConnectionGroupPrefix(
HttpWebRequest
httpWebRequest, SecurityTokenContainer clientCertificateToken)
633
string GetConnectionGroupName(
HttpWebRequest
httpWebRequest, NetworkCredential credential, AuthenticationLevel authenticationLevel,
731
HttpWebRequest
GetWebRequest(EndpointAddress to, Uri via, NetworkCredential credential,
736
HttpWebRequest
httpWebRequest = (
HttpWebRequest
)WebRequest.Create(httpWebRequestUri);
883
internal
HttpWebRequest
GetWebRequest(EndpointAddress to, Uri via, SecurityTokenProviderContainer tokenProvider,
1107
public virtual
HttpWebRequest
GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
1112
protected
HttpWebRequest
GetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, ref TimeoutHelper timeoutHelper)
1158
public virtual
HttpWebRequest
EndGetWebRequest(IAsyncResult result)
1168
internal virtual void OnWebRequestCompleted(
HttpWebRequest
request)
1179
HttpWebRequest
webRequest;
1368
void TryCompleteWebRequest(
HttpWebRequest
request)
1399
HttpWebRequest
request;
1741
void SetWebRequest(
HttpWebRequest
webRequest)
1906
void TryCompleteWebRequest(
HttpWebRequest
request)
1928
HttpWebRequest
request;
1999
public static
HttpWebRequest
End(IAsyncResult result)
2142
public IWebProxy CreateWebProxy(
HttpWebRequest
request, SecurityTokenProviderContainer tokenProvider, TimeSpan timeout)
System\ServiceModel\Channels\HttpChannelHelpers.cs (19)
2365
internal static HttpOutput CreateHttpOutput(
HttpWebRequest
httpWebRequest, IHttpTransportFactorySettings settings, Message message, bool enableChannelBindingSupport)
2377
HttpWebRequest
httpWebRequest;
2381
public WebRequestHttpOutput(
HttpWebRequest
httpWebRequest, IHttpTransportFactorySettings settings, Message message, bool enableChannelBindingSupport)
2724
HttpWebRequest
httpWebRequest;
2728
public GetOutputStreamAsyncResult(
HttpWebRequest
httpWebRequest, HttpOutput httpOutput, AsyncCallback callback, object state)
2799
HttpWebRequest
httpWebRequest;
2803
public WebRequestOutputStream(Stream requestStream,
HttpWebRequest
httpWebRequest, HttpOutput httpOutput)
3274
public static void AbortRequest(
HttpWebRequest
request)
3279
public static void SetRequestTimeout(
HttpWebRequest
request, TimeSpan timeout)
3291
public static void AddReplySecurityProperty(HttpChannelFactory<IRequestChannel> factory,
HttpWebRequest
webRequest,
3500
public static HttpWebResponse ProcessGetResponseWebException(WebException webException,
HttpWebRequest
request, HttpAbortReason abortReason)
3588
public static Exception ConvertWebException(WebException webException,
HttpWebRequest
request, HttpAbortReason abortReason)
3651
public static Exception CreateRequestCanceledException(Exception webException,
HttpWebRequest
request, HttpAbortReason abortReason)
3664
public static Exception CreateRequestIOException(IOException ioException,
HttpWebRequest
request)
3669
public static Exception CreateRequestIOException(IOException ioException,
HttpWebRequest
request, Exception originalException)
3681
static string CreateRequestTimedOutMessage(
HttpWebRequest
request)
3686
public static Exception CreateRequestWebException(WebException webException,
HttpWebRequest
request, HttpAbortReason abortReason)
3777
static void ValidateAuthentication(
HttpWebRequest
request, HttpWebResponse response,
3822
public static HttpInput ValidateRequestReplyResponse(
HttpWebRequest
request, HttpWebResponse response,
System\ServiceModel\Channels\HttpsChannelFactory.cs (12)
75
internal override SecurityMessageProperty CreateReplySecurityProperty(
HttpWebRequest
request,
147
protected override string OnGetConnectionGroupPrefix(
HttpWebRequest
httpWebRequest, SecurityTokenContainer clientCertificateToken)
197
static void SetCertificate(
HttpWebRequest
request, SecurityTokenContainer clientCertificateToken)
239
void AddServerCertMappingOrSetRemoteCertificateValidationCallback(
HttpWebRequest
request, EndpointAddress to)
257
Fx.Assert(sender is
HttpWebRequest
, "sender should be HttpWebRequest");
361
public
HttpWebRequest
EndBaseGetWebRequest(IAsyncResult result)
366
public override
HttpWebRequest
GetWebRequest(EndpointAddress to, Uri via, ref TimeoutHelper timeoutHelper)
369
HttpWebRequest
request = base.GetWebRequest(to, via, clientCertificateToken, ref timeoutHelper);
379
public override
HttpWebRequest
EndGetWebRequest(IAsyncResult result)
394
internal override void OnWebRequestCompleted(
HttpWebRequest
request)
404
HttpWebRequest
request;
551
public static
HttpWebRequest
End(IAsyncResult result)
System\ServiceModel\Channels\TransportSecurityHelpers.cs (7)
130
static Dictionary<
HttpWebRequest
, string> serverCertMap = new Dictionary<
HttpWebRequest
, string>();
134
public static void AddServerCertMapping(
HttpWebRequest
request, EndpointAddress to)
148
static void AddServerCertMapping(
HttpWebRequest
request, string thumbprint)
167
HttpWebRequest
request = sender as
HttpWebRequest
;
199
public static void RemoveServerCertMapping(
HttpWebRequest
request)
System\ServiceModel\Channels\WebSocketHelper.cs (3)
197
HttpWebRequest
request = (
HttpWebRequest
)
HttpWebRequest
.Create("ws://localhost");
System\ServiceModel\Description\MetadataExchangeClient.cs (9)
443
protected internal virtual
HttpWebRequest
GetWebRequest(Uri location, string dialect, string identifier)
445
HttpWebRequest
request = (
HttpWebRequest
)WebRequest.Create(location);
780
HttpWebRequest
request;
824
HttpWebRequest
request;
902
HttpWebRequest
request = state as
HttpWebRequest
;
938
HttpWebRequest
request = (
HttpWebRequest
)result.AsyncState;
System.Web.Extensions (2)
ClientServices\Providers\ProxyHelper.cs (2)
47
HttpWebRequest
request = (
HttpWebRequest
) WebRequest.Create(serverUri);
System.Web.Services (2)
System\Web\Services\Protocols\ClientProtocol.cs (2)
836
HttpWebRequest
httpRequest = request as
HttpWebRequest
;
System.Xml (4)
System\Xml\XmlDownloadManager.cs (2)
50
HttpWebRequest
webReq = req as
HttpWebRequest
;
System\Xml\XmlDownloadManagerAsync.cs (2)
44
HttpWebRequest
webReq = req as
HttpWebRequest
;