diff --git a/xml/System.Net.Http.Headers/AuthenticationHeaderValue.xml b/xml/System.Net.Http.Headers/AuthenticationHeaderValue.xml index d56ae13e164..f640686efe1 100644 --- a/xml/System.Net.Http.Headers/AuthenticationHeaderValue.xml +++ b/xml/System.Net.Http.Headers/AuthenticationHeaderValue.xml @@ -55,11 +55,11 @@ Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values. - class provides support for the Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate HTTP header values as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF. - + class provides support for the Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate HTTP header values as defined in [RFC 2616](https://go.microsoft.com/fwlink/?LinkID=241642) by the IETF. + ]]> @@ -111,8 +111,9 @@ The scheme to use for authorization. Initializes a new instance of the class. - The credentials containing the authentication information of the user agent for the resource being requested. Initializes a new instance of the class. - @@ -283,13 +287,13 @@ Authorization: Bearer ACCESS_TOKEN Serves as a hash function for an object. A hash code for the current object. - method is suitable for use in hashing algorithms and data structures such as a hash table. - + method is suitable for use in hashing algorithms and data structures such as a hash table. + ]]> diff --git a/xml/System.Net.Http/HttpClientHandler.xml b/xml/System.Net.Http/HttpClientHandler.xml index 26e77c2c72c..5bb51b4934b 100644 --- a/xml/System.Net.Http/HttpClientHandler.xml +++ b/xml/System.Net.Http/HttpClientHandler.xml @@ -506,7 +506,7 @@ If the property h The property addresses this limitation. The delegate returned by the property can be assigned to the property, as the following example does: -```cs +```csharp handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator; ``` diff --git a/xml/System.Net.Http/SocketsHttpHandler.xml b/xml/System.Net.Http/SocketsHttpHandler.xml index e9df0850c22..4a5296d7cfc 100644 --- a/xml/System.Net.Http/SocketsHttpHandler.xml +++ b/xml/System.Net.Http/SocketsHttpHandler.xml @@ -54,6 +54,7 @@ If this change is undesirable and you are on .NET Core 2.1-3.1, you can configur ```vb AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", False) ``` + - By defining the `System.Net.Http.UseSocketsHttpHandler` switch in the *.netcore.runtimeconfig.json* configuration file: ```json