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
Handles messages based on the WinHTTP interface of Windows. This class is intended for use in server environments.</summary>
38
38
<remarks>
39
-
<formattype="text/markdown"><.
@@ -98,11 +98,11 @@ Starting in .NET 5, <xref:System.Net.Http.WinHttpHandler> is no longer included
98
98
<summary>Gets or sets the type of decompression method used by the handler for automatic decompression of the HTTP content response.</summary>
99
99
<value>To be added.</value>
100
100
<remarks>
101
-
<formattype="text/markdown"><![CDATA[
102
-
103
-
## Remarks
104
-
The default value for this property is `GZip | Deflate`.
105
-
101
+
<formattype="text/markdown"><![CDATA[
102
+
103
+
## Remarks
104
+
The default value for this property is `None`.
105
+
106
106
]]></format>
107
107
</remarks>
108
108
</Docs>
@@ -130,12 +130,12 @@ Starting in .NET 5, <xref:System.Net.Http.WinHttpHandler> is no longer included
130
130
<value>
131
131
<seelangword="true" /> to follow HTTP redirection responses; otherwise, <seelangword="false" />. The default is <seelangword="true" />.</value>
132
132
<remarks>
133
-
<formattype="text/markdown"><![CDATA[
134
-
133
+
<formattype="text/markdown"><![CDATA[
134
+
135
135
## Remarks
136
136
137
-
When this property is set to `true`, all HTTP redirect responses from the server will be followed automatically except if they are redirecting from an HTTPS endpoint to an HTTP endpoint.
138
-
137
+
When this property is set to `true`, all HTTP redirect responses from the server will be followed automatically except if they are redirecting from an HTTPS endpoint to an HTTP endpoint.
138
+
139
139
]]></format>
140
140
</remarks>
141
141
</Docs>
@@ -187,11 +187,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
187
187
<summary>Gets or sets a value that indicates if the certificate is automatically picked from the certificate store or if the caller is allowed to pass in a specific client certificate.</summary>
188
188
<value>To be added.</value>
189
189
<remarks>
190
-
<formattype="text/markdown"><![CDATA[
191
-
192
-
## Remarks
193
-
The default value for this property is <xref:System.Net.Http.ClientCertificateOption.Manual?displayProperty=nameWithType>.
194
-
190
+
<formattype="text/markdown"><![CDATA[
191
+
192
+
## Remarks
193
+
The default value for this property is <xref:System.Net.Http.ClientCertificateOption.Manual?displayProperty=nameWithType>.
194
+
195
195
]]></format>
196
196
</remarks>
197
197
</Docs>
@@ -224,11 +224,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
224
224
<summary>Gets a collection of client authentication SSL certificates that are used for client authentication by the handler if the <seecref="P:System.Net.Http.WinHttpHandler.ClientCertificateOption" /> property is set to <seelangword="Manual" />.</summary>
225
225
<value>To be added.</value>
226
226
<remarks>
227
-
<formattype="text/markdown"><![CDATA[
228
-
229
-
## Remarks
230
-
The default value for this property is an empty collection.
231
-
227
+
<formattype="text/markdown"><![CDATA[
228
+
229
+
## Remarks
230
+
The default value for this property is an empty collection.
231
+
232
232
]]></format>
233
233
</remarks>
234
234
</Docs>
@@ -256,11 +256,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
256
256
<summary>Gets or sets the managed cookie container object. This property is only used when the <seecref="P:System.Net.Http.WinHttpHandler.CookieUsePolicy" /> property is set to UseSpecifiedCookieContainer. Otherwise, the <seecref="M:System.Net.Http.WinHttpHandler.SendAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)" /> method will throw an exception.</summary>
257
257
<value>To be added.</value>
258
258
<remarks>
259
-
<formattype="text/markdown"><![CDATA[
260
-
261
-
## Remarks
262
-
The default value for this property is `null`.
263
-
259
+
<formattype="text/markdown"><![CDATA[
260
+
261
+
## Remarks
262
+
The default value for this property is `null`.
263
+
264
264
]]></format>
265
265
</remarks>
266
266
</Docs>
@@ -287,11 +287,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
287
287
<summary>Gets or sets a value that indicates how cookies should be managed and used. Developers can choose to ignore cookies, allow the handler to automatically manage them or manually handle them using a <seecref="T:System.Net.CookieContainer" /> object.</summary>
288
288
<value>To be added.</value>
289
289
<remarks>
290
-
<formattype="text/markdown"><![CDATA[
291
-
292
-
## Remarks
293
-
The default for this property is <xref:System.Net.Http.CookieUsePolicy.UseInternalCookieStoreOnly?displayProperty=nameWithType>. If this value is set to <xref:System.Net.Http.CookieUsePolicy.UseSpecifiedCookieContainer?displayProperty=nameWithType>, then a container object must be initialized and assigned to the <xref:System.Net.Http.WinHttpHandler.CookieContainer%2A> property. Otherwise, an exception will be thrown when trying to send a request.
294
-
290
+
<formattype="text/markdown"><![CDATA[
291
+
292
+
## Remarks
293
+
The default for this property is <xref:System.Net.Http.CookieUsePolicy.UseInternalCookieStoreOnly?displayProperty=nameWithType>. If this value is set to <xref:System.Net.Http.CookieUsePolicy.UseSpecifiedCookieContainer?displayProperty=nameWithType>, then a container object must be initialized and assigned to the <xref:System.Net.Http.WinHttpHandler.CookieContainer%2A> property. Otherwise, an exception will be thrown when trying to send a request.
294
+
295
295
]]></format>
296
296
</remarks>
297
297
</Docs>
@@ -316,16 +316,9 @@ When this property is set to `true`, all HTTP redirect responses from the server
316
316
<ReturnType>System.Net.ICredentials</ReturnType>
317
317
</ReturnValue>
318
318
<Docs>
319
-
<summary>Gets or sets the credentials used to authenticate the user to an authenticating proxy.</summary>
320
-
<value>To be added.</value>
321
-
<remarks>
322
-
<formattype="text/markdown"><![CDATA[
323
-
324
-
## Remarks
325
-
The default value for this property is <xref:System.Net.CredentialCache.DefaultCredentials?displayProperty=nameWithType>.
326
-
327
-
]]></format>
328
-
</remarks>
319
+
<summary>When the default (system) proxy is used, gets or sets the credentials used to submit to the default proxy server for authentication.</summary>
320
+
<value>The credentials used to authenticate the user to an authenticating proxy.</value>
321
+
<remarks>To be added.</remarks>
329
322
</Docs>
330
323
</Member>
331
324
<MemberGroupMemberName="Dispose">
@@ -412,11 +405,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
412
405
<summary>Gets or sets the maximum number of allowed HTTP redirects.</summary>
413
406
<value>The maximum number of allowed HTTP redirects.</value>
414
407
<remarks>
415
-
<formattype="text/markdown"><![CDATA[
416
-
417
-
## Remarks
418
-
The default value for this property is 50. This value only applies if <xref:System.Net.Http.WinHttpHandler.AutomaticRedirection%2A> is set to `true`.
419
-
408
+
<formattype="text/markdown"><![CDATA[
409
+
410
+
## Remarks
411
+
The default value for this property is 50. This value only applies if <xref:System.Net.Http.WinHttpHandler.AutomaticRedirection%2A> is set to `true`.
412
+
420
413
]]></format>
421
414
</remarks>
422
415
</Docs>
@@ -443,11 +436,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
443
436
<summary>Gets or sets the maximum number of TCP connections allowed to a single server.</summary>
444
437
<value>The maximum number of TCP connections allowed to a single server.</value>
445
438
<remarks>
446
-
<formattype="text/markdown"><![CDATA[
447
-
448
-
## Remarks
449
-
The default value for this property is `int.MaxValue`.
450
-
439
+
<formattype="text/markdown"><![CDATA[
440
+
441
+
## Remarks
442
+
The default value for this property is `int.MaxValue`.
443
+
451
444
]]></format>
452
445
</remarks>
453
446
</Docs>
@@ -474,11 +467,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
474
467
<summary>Gets or sets the maximum amount of data that can be drained from responses in bytes.</summary>
475
468
<value>The maximum amount of data that can be drained from responses in bytes.</value>
476
469
<remarks>
477
-
<formattype="text/markdown"><![CDATA[
478
-
479
-
## Remarks
480
-
The default value for this property is 65536.
481
-
470
+
<formattype="text/markdown"><![CDATA[
471
+
472
+
## Remarks
473
+
The default value for this property is 65536.
474
+
482
475
]]></format>
483
476
</remarks>
484
477
</Docs>
@@ -502,14 +495,14 @@ When this property is set to `true`, all HTTP redirect responses from the server
502
495
<ReturnType>System.Int32</ReturnType>
503
496
</ReturnValue>
504
497
<Docs>
505
-
<summary>Gets or sets the maximum size of the header portion from the server response in bytes.</summary>
506
-
<value>The maximum size of the header portion from the server response in bytes.</value>
498
+
<summary>Gets or sets the maximum length, in kilobytes (1024 bytes), of the response headers.</summary>
499
+
<value>The maximum length, in kilobytes (1024 bytes), of the response headers.</value>
507
500
<remarks>
508
-
<formattype="text/markdown"><![CDATA[
509
-
510
-
## Remarks
511
-
This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 65536.
512
-
501
+
<formattype="text/markdown"><![CDATA[
502
+
503
+
## Remarks
504
+
This property protects the client from an unauthorized server attempting to stall the client by sending a response with an infinite amount of header data. The default value for this property is 64 KB (equivalent to 65536 bytes).
505
+
513
506
]]></format>
514
507
</remarks>
515
508
</Docs>
@@ -536,11 +529,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
536
529
<summary>Gets or sets a value that indicates whether the handler sends an Authorization header with the request.</summary>
537
530
<value>To be added.</value>
538
531
<remarks>
539
-
<formattype="text/markdown"><![CDATA[
540
-
541
-
## Remarks
542
-
The default value for this property is `false`.
543
-
532
+
<formattype="text/markdown"><![CDATA[
533
+
534
+
## Remarks
535
+
The default value for this property is `false`.
536
+
544
537
]]></format>
545
538
</remarks>
546
539
</Docs>
@@ -598,11 +591,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
598
591
<summary>Gets or sets the custom proxy when the <seecref="P:System.Net.Http.WinHttpHandler.WindowsProxyUsePolicy" /> property is set to use a custom proxy.</summary>
599
592
<value>To be added.</value>
600
593
<remarks>
601
-
<formattype="text/markdown"><![CDATA[
602
-
603
-
## Remarks
604
-
The default value for this property is `null`.
605
-
594
+
<formattype="text/markdown"><![CDATA[
595
+
596
+
## Remarks
597
+
The default value for this property is `null`.
598
+
606
599
]]></format>
607
600
</remarks>
608
601
</Docs>
@@ -629,11 +622,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
629
622
<summary>Gets or sets the timeout for receiving the data portion of a response from the server.</summary>
630
623
<value>The timeout for receiving the data portion of a response from the server.</value>
631
624
<remarks>
632
-
<formattype="text/markdown"><![CDATA[
633
-
634
-
## Remarks
635
-
The default value for this property is 30 seconds.
636
-
625
+
<formattype="text/markdown"><![CDATA[
626
+
627
+
## Remarks
628
+
The default value for this property is 30 seconds.
629
+
637
630
]]></format>
638
631
</remarks>
639
632
</Docs>
@@ -660,11 +653,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
660
653
<summary>Gets or sets the timeout for receiving the headers of a response from the server.</summary>
661
654
<value>The timeout for receiving the headers of a response from the server.</value>
662
655
<remarks>
663
-
<formattype="text/markdown"><![CDATA[
664
-
665
-
## Remarks
666
-
The default value for this property is 30 seconds.
667
-
656
+
<formattype="text/markdown"><![CDATA[
657
+
658
+
## Remarks
659
+
The default value for this property is 30 seconds.
660
+
668
661
]]></format>
669
662
</remarks>
670
663
</Docs>
@@ -722,11 +715,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
722
715
<summary>Gets or sets the timeout for sending a request.</summary>
723
716
<value>The timeout for sending a request.</value>
724
717
<remarks>
725
-
<formattype="text/markdown"><![CDATA[
726
-
727
-
## Remarks
728
-
The default value for this property is 30 seconds.
729
-
718
+
<formattype="text/markdown"><![CDATA[
719
+
720
+
## Remarks
721
+
The default value for this property is 30 seconds.
722
+
730
723
]]></format>
731
724
</remarks>
732
725
</Docs>
@@ -760,11 +753,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
760
753
<summary>Gets or sets a callback method to validate the server certificate. This callback is part of the SSL handshake.</summary>
761
754
<value>The callback should return <seelangword="true" /> if the server certificate is considered valid and the request should be sent. Otherwise, return <seelangword="false" />.</value>
762
755
<remarks>
763
-
<formattype="text/markdown"><![CDATA[
764
-
765
-
## Remarks
766
-
The default value is `null`. If this property is `null`, the server certificate is validated using standard well-known certificate authorities.
767
-
756
+
<formattype="text/markdown"><![CDATA[
757
+
758
+
## Remarks
759
+
The default value is `null`. If this property is `null`, the server certificate is validated using standard well-known certificate authorities.
760
+
768
761
]]></format>
769
762
</remarks>
770
763
</Docs>
@@ -792,11 +785,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
792
785
<summary>Gets or sets the credentials to be used by the client to authenticate to the server.</summary>
793
786
<value>The credentials to be used by the client to authenticate to the server.</value>
794
787
<remarks>
795
-
<formattype="text/markdown"><![CDATA[
796
-
797
-
## Remarks
798
-
The default value for this property is `null`.
799
-
788
+
<formattype="text/markdown"><![CDATA[
789
+
790
+
## Remarks
791
+
The default value for this property is `null`.
792
+
800
793
]]></format>
801
794
</remarks>
802
795
</Docs>
@@ -823,11 +816,11 @@ When this property is set to `true`, all HTTP redirect responses from the server
823
816
<summary>Gets or sets the collection of TLS/SSL protocols supported by the client.</summary>
824
817
<value>The collection of TLS/SSL protocols supported by the client.</value>
825
818
<remarks>
826
-
<formattype="text/markdown"><![CDATA[
827
-
828
-
## Remarks
829
-
The default value is `SslProtocols.Tls | SslProtocols.Tls11 | SslProtocols.Tls12`.
830
-
819
+
<formattype="text/markdown"><![CDATA[
820
+
821
+
## Remarks
822
+
The default value is `None`, which is the recommended value. It allows the operating system to choose the best protocol to use, and to block protocols that are not secure. For more information, see <xref:System.Security.Authentication.SslProtocols>.
823
+
831
824
]]></format>
832
825
</remarks>
833
826
</Docs>
@@ -950,11 +943,11 @@ Only supported on Windows 10 version 2004 or newer.
950
943
<summary>Gets or sets the proxy setting. This property can be set to disable the proxy, use a custom proxy, or use the proxy settings of WinHTTP or WinInet on the machine.</summary>
951
944
<value>To be added.</value>
952
945
<remarks>
953
-
<formattype="text/markdown"><![CDATA[
954
-
955
-
## Remarks
956
-
The default value of this property is the WinHTTP stack proxy settings.
957
-
946
+
<formattype="text/markdown"><![CDATA[
947
+
948
+
## Remarks
949
+
The default value of this property is the WinHTTP stack proxy settings.
0 commit comments