1 instantiation of HttpWebRequest
System.Net.Requests (1)
System\Net\WebRequest.cs (1)
330return new HttpWebRequest(Uri);
50 references to HttpWebRequest
dotnet-svcutil-lib (14)
CmdCredentialsProvider.cs (2)
210HttpWebRequest request = sender as HttpWebRequest;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (9)
421protected internal virtual HttpWebRequest GetWebRequest(Uri location, string dialect, string identifier) 424HttpWebRequest request = (HttpWebRequest)WebRequest.Create(location); 745HttpWebRequest request; 794HttpWebRequest request; 861HttpWebRequest request = state as HttpWebRequest; 897HttpWebRequest request = (HttpWebRequest)result.AsyncState;
Metadata\MetadaExchangeResolver.cs (3)
35private HttpWebRequest _currentRequest; 342internal protected override HttpWebRequest GetWebRequest(Uri location, string dialect, string identifier) 344HttpWebRequest request = base.GetWebRequest(location, dialect, identifier);
Microsoft.Extensions.Http.Diagnostics (6)
Http\DownstreamDependencyMetadataManager.cs (1)
62public RequestMetadata? GetRequestMetadata(HttpWebRequest requestMessage)
Http\HttpDiagnosticsHttpWebRequestExtensions.cs (4)
17/// <param name="request"><see cref="HttpWebRequest"/> object.</param> 19public static void SetRequestMetadata(this HttpWebRequest request, RequestMetadata metadata) 32/// <param name="request"><see cref="HttpWebRequest"/> object.</param> 34public static RequestMetadata? GetRequestMetadata(this HttpWebRequest request)
Logging\Internal\IDownstreamDependencyMetadataManager.cs (1)
27RequestMetadata? GetRequestMetadata(HttpWebRequest requestMessage);
Microsoft.ML.Core (2)
Utilities\ResourceManagerUtils.cs (2)
317HttpWebRequest httpWebRequest = (HttpWebRequest)request;
Microsoft.VisualBasic.Forms (2)
Microsoft\VisualBasic\Devices\WebClientExtended.vb (2)
66Dim httpRequest As HttpWebRequest = TryCast(request, HttpWebRequest)
netstandard (1)
netstandard.cs (1)
1152[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebRequest))]
PresentationCore (12)
MS\Internal\AppModel\CookieHandler.cs (2)
36HttpWebRequest httpRequest = request as HttpWebRequest;
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (4)
439private HttpWebRequest CreateHttpWebRequest(int[,] byteRanges) 441HttpWebRequest request; 444request = (HttpWebRequest)WpfWebRequestHelper.CreateRequest(_requestedUri); 867private HttpWebRequest _webRequest;
MS\Internal\WpfWebRequestHelper.cs (6)
91HttpWebRequest httpRequest = request as HttpWebRequest; 124HttpWebRequest httpRequest = request as HttpWebRequest; 197if (response is HttpWebResponse && !(request is HttpWebRequest)) 214if (response is HttpWebResponse && !(request is HttpWebRequest))
PresentationFramework (3)
System\Windows\Navigation\NavigationService.cs (3)
3059if ((_request is HttpWebRequest) && 3060(HttpWebRequest.DefaultCachePolicy != null) && 3061(HttpWebRequest.DefaultCachePolicy is HttpRequestCachePolicy))
System (1)
src\libraries\shims\System\ref\System.cs (1)
637[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebRequest))]
System.Net (1)
System.Net.cs (1)
16[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebRequest))]
System.Net.Requests (6)
System\Net\HttpWebRequest.cs (2)
131public HttpClientParameters(HttpWebRequest webRequest, bool async) 1660private static HttpClient CreateHttpClient(HttpClientParameters parameters, HttpWebRequest? request)
System\Net\HttpWebResponse.cs (1)
343int maxErrorResponseLength = HttpWebRequest.DefaultMaximumErrorResponseLength;
System\Net\WebRequest.cs (3)
197public static HttpWebRequest CreateHttp(string requestUriString) 205public static HttpWebRequest CreateHttp(Uri requestUri) 213return (HttpWebRequest)CreateDefault(requestUri);
System.Net.WebClient (2)
System\Net\WebClient.cs (2)
718var hwr = request as HttpWebRequest;