You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix HttpClient.DefaultProxy description.
- Remove incorrect `HttpWebRequest` reference to all HTTP requests (on the HttpClient)
- Change `HttpClientHandler` reference to `HttpMessageHandler`
Copy file name to clipboardExpand all lines: xml/System.Net.Http/HttpClient.xml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -465,13 +465,13 @@ The specified `handler` will be disposed of by calling [HttpClient.Dispose](xref
465
465
<ReturnType>System.Net.IWebProxy</ReturnType>
466
466
</ReturnValue>
467
467
<Docs>
468
-
<summary>Gets or sets the global Http proxy.</summary>
469
-
<value>A proxy used by every call that instantiates a <seecref="T:System.Net.HttpWebRequest" />.</value>
468
+
<summary>Gets or sets the global HTTP proxy.</summary>
469
+
<value>A proxy used by every HTTP request.</value>
470
470
<remarks>
471
471
<formattype="text/markdown"><![CDATA[
472
472
473
473
## Remarks
474
-
This static property determines the default proxy that all <xref:System.Net.Http.HttpClient> instances use if no proxy is set explicitly in the <xref:System.Net.Http.HttpClientHandler> passed through its constructor.
474
+
This static property determines the default proxy that all <xref:System.Net.Http.HttpClient> instances use if no proxy is set explicitly in the <xref:System.Net.Http.HttpMessageHandler> passed through its constructor.
475
475
476
476
The default instance returned by this property will initialize following a different set of rules depending on your platform:
477
477
* **For Windows:** Reads proxy configuration from environment variables or, if those are not defined, from the user's proxy settings.
0 commit comments