Beispiel #1
0
 public Task <TResponse> InfoAsync <TResponse>(XPackInfoRequestParameters requestParameters = null, CancellationToken ctx = default)
     where TResponse : class, ITransportResponse, new() => DoRequestAsync <TResponse>(GET, "_xpack", ctx, null, RequestParams(requestParameters));
Beispiel #2
0
 ///<summary>GET on /_xpack <para>https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html</para></summary>
 ///<param name = "requestParameters">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>
 public TResponse Info <TResponse>(XPackInfoRequestParameters requestParameters = null)
     where TResponse : class, ITransportResponse, new() => DoRequest <TResponse>(GET, "_xpack", null, RequestParams(requestParameters));