Skip to content

Commit 9aa8886

Browse files
committed
add language slugs
1 parent 5831ac1 commit 9aa8886

File tree

3 files changed

+22
-17
lines changed

3 files changed

+22
-17
lines changed

xml/System.Net.Http.Headers/AuthenticationHeaderValue.xml

+20-16
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@
5555
<Docs>
5656
<summary>Represents authentication information in Authorization, ProxyAuthorization, WWW-Authenticate, and Proxy-Authenticate header values.</summary>
5757
<remarks>
58-
<format type="text/markdown"><![CDATA[
59-
60-
## Remarks
61-
The <xref:System.Net.Http.Headers.AuthenticationHeaderValue> 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.
62-
58+
<format type="text/markdown"><![CDATA[
59+
60+
## Remarks
61+
The <xref:System.Net.Http.Headers.AuthenticationHeaderValue> 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.
62+
6363
]]></format>
6464
</remarks>
6565
</Docs>
@@ -111,8 +111,9 @@
111111
<param name="scheme">The scheme to use for authorization.</param>
112112
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> class.</summary>
113113
<remarks>
114-
<format type="text/markdown"><![CDATA[
114+
<format type="text/markdown"><![CDATA[
115115
Example:
116+
116117
```csharp
117118
HttpClient client = new HttpClient();
118119
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(ACCESS_TOKEN);
@@ -124,7 +125,8 @@ client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(ACCES
124125
```
125126
126127
Will produce the following header:
127-
```
128+
129+
```txt
128130
Authorization: ACCESS_TOKEN
129131
```
130132
@@ -177,8 +179,9 @@ Authorization: ACCESS_TOKEN
177179
<param name="parameter">The credentials containing the authentication information of the user agent for the resource being requested.</param>
178180
<summary>Initializes a new instance of the <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> class.</summary>
179181
<remarks>
180-
<format type="text/markdown"><![CDATA[
182+
<format type="text/markdown"><![CDATA[
181183
Example:
184+
182185
```csharp
183186
HttpClient client = new HttpClient();
184187
client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", ACCESS_TOKEN);
@@ -190,7 +193,8 @@ client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bear
190193
```
191194
192195
Will produce the following header:
193-
```
196+
197+
```txt
194198
Authorization: Bearer ACCESS_TOKEN
195199
```
196200
]]></format>
@@ -283,13 +287,13 @@ Authorization: Bearer ACCESS_TOKEN
283287
<summary>Serves as a hash function for an <see cref="T:System.Net.Http.Headers.AuthenticationHeaderValue" /> object.</summary>
284288
<returns>A hash code for the current object.</returns>
285289
<remarks>
286-
<format type="text/markdown"><![CDATA[
287-
288-
## Remarks
289-
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
290-
291-
The <xref:System.Net.Http.Headers.AuthenticationHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
292-
290+
<format type="text/markdown"><![CDATA[
291+
292+
## Remarks
293+
A hash code is a numeric value that is used to identify an object during equality testing. It can also serve as an index for an object in a collection.
294+
295+
The <xref:System.Net.Http.Headers.AuthenticationHeaderValue.GetHashCode%2A> method is suitable for use in hashing algorithms and data structures such as a hash table.
296+
293297
]]></format>
294298
</remarks>
295299
</Docs>

xml/System.Net.Http/HttpClientHandler.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ If the <xref:System.Net.Http.HttpClientHandler.UseDefaultCredentials> property h
506506
507507
The <xref:System.Net.Http.HttpClientHandler.DangerousAcceptAnyServerCertificateValidator%2A> property addresses this limitation. The delegate returned by the <xref:System.Net.Http.HttpClientHandler.DangerousAcceptAnyServerCertificateValidator%2A> property can be assigned to the <xref:System.Net.Http.HttpClientHandler.ServerCertificateCustomValidationCallback%2A> property, as the following example does:
508508
509-
```cs
509+
```csharp
510510
handler.ServerCertificateCustomValidationCallback = HttpClientHandler.DangerousAcceptAnyServerCertificateValidator;
511511
```
512512

xml/System.Net.Http/SocketsHttpHandler.xml

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ If this change is undesirable and you are on .NET Core 2.1-3.1, you can configur
5454
```vb
5555
AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", False)
5656
```
57+
5758
- By defining the `System.Net.Http.UseSocketsHttpHandler` switch in the *.netcore.runtimeconfig.json* configuration file:
5859
5960
```json

0 commit comments

Comments
 (0)