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
Add option to enable multuple H/3 connections (#1998)
* Add option to enable multuple H/3 connections
* Feedback
* Fixed typo
* Testing - TO BE REVERTED
* Revert "Testing - TO BE REVERTED"
This reverts commit 326231d.
Copy file name to clipboardExpand all lines: src/BenchmarksApps/HttpClientBenchmarks/Clients/HttpClient/ClientOptionsBinder.cs
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ public class ClientOptionsBinder : BinderBase<ClientOptions>
15
15
publicstaticOption<int>ConcurrencyPerHttpClientOption{get;}=newOption<int>("--concurrencyPerHttpClient",()=>1,"Number of concurrect requests per one HttpClient");
16
16
publicstaticOption<int>Http11MaxConnectionsPerServerOption{get;}=newOption<int>("--http11MaxConnectionsPerServer",()=>0,"Max number of HTTP/1.1 connections per server, 0 for unlimited");
publicstaticOption<bool>UseWinHttpHandlerOption{get;}=newOption<bool>("--useWinHttpHandler",()=>false,"Use WinHttpHandler instead of SocketsHttpHandler");
19
20
publicstaticOption<bool>UseHttpMessageInvokerOption{get;}=newOption<bool>("--useHttpMessageInvoker",()=>false,"Use HttpMessageInvoker instead of HttpClient");
20
21
publicstaticOption<bool>CollectRequestTimingsOption{get;}=newOption<bool>("--collectRequestTimings",()=>false,"Collect percentiled metrics of request timings");
@@ -41,6 +42,7 @@ public static void AddOptionsToCommand(RootCommand command)
0 commit comments