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
/// <param name="keepAliveTime">Specifies the timeout with no activity until the first keep-alive packet is sent.</param>
192
+
/// <param name="keepAliveInterval">Specifies the interval between when successive keep-alive packets are sent if no acknowledgement is received.</param>
/// Limits the number of concurrent connections that can be opened to an endpoint. Defaults to 80.
203
+
/// <para>For Desktop CLR, this setting applies to the DefaultConnectionLimit property on the ServicePointManager object when creating ServicePoint objects, affecting the default <see cref="IConnection"/> implementation.</para>
204
+
/// <para>For Core CLR, this setting applies to the MaxConnectionsPerServer property on the HttpClientHandler instances used by the HttpClient inside the default <see cref="IConnection"/> implementation</para>
/// This NameValueCollection will be appended to every url NEST calls, great if you need to pass i.e an API key.
259
+
/// A collection of query string parameters that will be sent with every request. Useful in situations where you always need to pass a parameter e.g. an API key.
/// a NameValueCollection that will be send as headers for each request
264
+
/// A collection of headers that will be sent with every request. Useful in situations where you always need to pass a header e.g. a custom auth header
Copy file name to clipboardExpand all lines: src/Elasticsearch.Net/Configuration/IConnectionConfigurationValues.cs
+19Lines changed: 19 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,13 @@ public interface IConnectionConfigurationValues : IDisposable
52
52
/// </summary>
53
53
int?MaxRetries{get;}
54
54
55
+
/// <summary>
56
+
/// Limits the number of concurrent connections that can be opened to an endpoint. Defaults to 80 (see <see cref="ConnectionConfiguration.DefaultConnectionLimit"/>).
57
+
/// <para>For Desktop CLR, this setting applies to the DefaultConnectionLimit property on the ServicePointManager object when creating ServicePoint objects, affecting the default <see cref="IConnection"/> implementation.</para>
58
+
/// <para>For Core CLR, this setting applies to the MaxConnectionsPerServer property on the HttpClientHandler instances used by the HttpClient inside the default <see cref="IConnection"/> implementation</para>
59
+
/// </summary>
60
+
intConnectionLimit{get;}
61
+
55
62
/// <summary>
56
63
/// This signals that we do not want to send initial pings to unknown/previously dead nodes
57
64
/// and just send the call straightaway
@@ -68,7 +75,15 @@ public interface IConnectionConfigurationValues : IDisposable
68
75
/// When set will force all connections through this proxy
69
76
/// </summary>
70
77
stringProxyAddress{get;}
78
+
79
+
/// <summary>
80
+
/// The username for the proxy, when configured
81
+
/// </summary>
71
82
stringProxyUsername{get;}
83
+
84
+
/// <summary>
85
+
/// The password for the proxy, when configured
86
+
/// </summary>
72
87
stringProxyPassword{get;}
73
88
74
89
/// <summary>
@@ -138,6 +153,10 @@ public interface IConnectionConfigurationValues : IDisposable
0 commit comments