public Task <EqlGetStatusResponse> GetStatusAsync(Elastic.Clients.Elasticsearch.Id id, Action <EqlGetStatusRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new EqlGetStatusRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <EqlGetStatusRequestDescriptor, EqlGetStatusResponse>(descriptor)); }
public EqlGetStatusResponse GetStatus(Elastic.Clients.Elasticsearch.Id id, Action <EqlGetStatusRequestDescriptor> configureRequest = null) { var descriptor = new EqlGetStatusRequestDescriptor(id); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <EqlGetStatusRequestDescriptor, EqlGetStatusResponse>(descriptor)); }