Skip to content

Commit

Permalink
Xml docs for SocketsHttpHandler's IsSupported and EnableMultipleHttp2…
Browse files Browse the repository at this point in the history
…Connections (dotnet#40308)

Fixes dotnet#39489
  • Loading branch information
alnikola authored and Jacksondr5 committed Aug 10, 2020
1 parent b3064f8 commit 2261d72
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ private void CheckDisposedOrStarted()
}
}

/// <summary>
/// Gets a value that indicates whether the handler is supported on the current platform.
/// </summary>
public static bool IsSupported => true;

public bool UseCookies
Expand Down Expand Up @@ -277,6 +280,10 @@ public TimeSpan Expect100ContinueTimeout
}
}

/// <summary>
/// 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.
/// </summary>
public bool EnableMultipleHttp2Connections
{
get => _settings._enableMultipleHttp2Connections;
Expand Down

0 comments on commit 2261d72

Please sign in to comment.