From 2261d7215b761d5e88532bb545d3e9cac92ae6dd Mon Sep 17 00:00:00 2001 From: Alexander Nikolaev <55398552+alnikola@users.noreply.github.com> Date: Tue, 4 Aug 2020 16:12:11 +0200 Subject: [PATCH] Xml docs for SocketsHttpHandler's IsSupported and EnableMultipleHttp2Connections (#40308) Fixes #39489 --- .../Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs b/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs index db2cfedf2b1a1..73c1c3493af04 100644 --- a/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs +++ b/src/libraries/System.Net.Http/src/System/Net/Http/SocketsHttpHandler/SocketsHttpHandler.cs @@ -35,6 +35,9 @@ private void CheckDisposedOrStarted() } } + /// + /// Gets a value that indicates whether the handler is supported on the current platform. + /// public static bool IsSupported => true; public bool UseCookies @@ -277,6 +280,10 @@ public TimeSpan Expect100ContinueTimeout } } + /// + /// Gets or sets a value that indicates whether additional HTTP/2 connections can be established to the same server + /// when the maximum of concurrent streams is reached on all existing connections. + /// public bool EnableMultipleHttp2Connections { get => _settings._enableMultipleHttp2Connections;