Skip to content

Commit 10597c3

Browse files
authored
Update HttpClient.DefaultProxy (dotnet#9095)
Fix HttpClient.DefaultProxy description. - Remove incorrect `HttpWebRequest` reference to all HTTP requests (on the HttpClient) - Change `HttpClientHandler` reference to `HttpMessageHandler`
1 parent eb87a5e commit 10597c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xml/System.Net.Http/HttpClient.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,13 +465,13 @@ The specified `handler` will be disposed of by calling [HttpClient.Dispose](xref
465465
<ReturnType>System.Net.IWebProxy</ReturnType>
466466
</ReturnValue>
467467
<Docs>
468-
<summary>Gets or sets the global Http proxy.</summary>
469-
<value>A proxy used by every call that instantiates a <see cref="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>
470470
<remarks>
471471
<format type="text/markdown"><![CDATA[
472472
473473
## 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.
475475
476476
The default instance returned by this property will initialize following a different set of rules depending on your platform:
477477
* **For Windows:** Reads proxy configuration from environment variables or, if those are not defined, from the user's proxy settings.

0 commit comments

Comments
 (0)