Пример #1
0
 /// <inheritdoc />
 public Task <IXPackInfoResponse> XPackInfoAsync(IXPackInfoRequest request, CancellationToken cancellationToken = default(CancellationToken)) =>
 Dispatcher.DispatchAsync <IXPackInfoRequest, XPackInfoRequestParameters, XPackInfoResponse, IXPackInfoResponse>(
     request,
     cancellationToken,
     (p, d, c) => LowLevelDispatch.XpackInfoDispatchAsync <XPackInfoResponse>(p, c)
     );
Пример #2
0
 /// <inheritdoc />
 public IXPackInfoResponse XPackInfo(IXPackInfoRequest request) =>
 Dispatcher.Dispatch <IXPackInfoRequest, XPackInfoRequestParameters, XPackInfoResponse>(
     request,
     (p, d) => LowLevelDispatch.XpackInfoDispatch <XPackInfoResponse>(p)
     );
 /// <summary>
 /// <c>GET</c> request to the <c>xpack.info</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html</a>
 /// </summary>
 public Task <XPackInfoResponse> InfoAsync(IXPackInfoRequest request, CancellationToken ct = default) => DoRequestAsync <IXPackInfoRequest, XPackInfoResponse>(request, request.RequestParameters, ct);
 /// <summary>
 /// <c>GET</c> request to the <c>xpack.info</c> API, read more about this API online:
 /// <para></para>
 /// <a href = "https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html">https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html</a>
 /// </summary>
 public XPackInfoResponse Info(IXPackInfoRequest request) => DoRequest <IXPackInfoRequest, XPackInfoResponse>(request, request.RequestParameters);
Пример #5
0

        
Пример #6
0