1 instantiation of HttpWebResponse
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1256HttpWebResponse response = new(responseMessage, _requestUri, _cookieContainer);
33 references to HttpWebResponse
dotnet-svcutil-lib (12)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (4)
744HttpWebResponse response; 765response = task.Result as HttpWebResponse; 769internal static XmlReader GetXmlReader(HttpWebResponse response, long maxMessageSize, XmlDictionaryReaderQuotas readerQuotas) 900MetadataLocationRetriever.GetXmlReader((HttpWebResponse)request.EndGetResponse(result), _maxMessageSize, _readerQuotas))
Metadata\HttpAuthenticationHelper.cs (5)
33public static HttpWebResponse GetUnauthorizedResponse(WebException webException) 37if (webException.Response is HttpWebResponse response && // user auth required. 50public static HttpWebResponse GetForbiddenResponse(WebException webException) 56if (webException.Response is HttpWebResponse response && response.StatusCode == HttpStatusCode.Forbidden) 69public static void GetAuthenticationInformation(HttpWebResponse httpResponse, out string[] authenticationSchemes, out string realm)
Metadata\MetadaExchangeResolver.cs (3)
244HttpWebResponse webResponse = null; 265webResponse = (HttpWebResponse)_currentRequest.EndGetResponse(result); 413public static MemoryStream ResponseToMemoryStream(HttpWebResponse webResponse)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (6)
ResponseHeaderTests.cs (6)
56HttpWebResponse response = (HttpWebResponse)await request.GetResponseAsync(); 81HttpWebResponse response = (HttpWebResponse)await request.GetResponseAsync(); 106HttpWebResponse response = (HttpWebResponse)await request.GetResponseAsync();
Microsoft.ML.Core (4)
Utilities\ResourceManagerUtils.cs (4)
319HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse(); 323HttpWebResponse webResponse = (HttpWebResponse)e.Response;
netstandard (1)
netstandard.cs (1)
1153[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebResponse))]
PresentationCore (7)
MS\Internal\AppModel\CookieHandler.cs (2)
63HttpWebResponse httpResponse = response as HttpWebResponse;
MS\Internal\IO\Packaging\ByteRangeDownloader.cs (3)
492HttpWebResponse webResponse = null; 506webResponse = (HttpWebResponse)WpfWebRequestHelper.EndGetResponse(_webRequest, ar); 623private bool WriteByteRange(HttpWebResponse response, int offset, int length)
MS\Internal\WpfWebRequestHelper.cs (2)
194if (response is HttpWebResponse && !(request is HttpWebRequest)) 211if (response is HttpWebResponse && !(request is HttpWebRequest))
System (1)
src\libraries\shims\System\ref\System.cs (1)
638[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebResponse))]
System.Net (1)
System.Net.cs (1)
17[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.HttpWebResponse))]
System.Net.Requests (1)
System\Net\HttpWebRequest.cs (1)
1256HttpWebResponse response = new(responseMessage, _requestUri, _cookieContainer);