public Task <XpackInfoResponse> InfoAsync(Action <XpackInfoRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default)
        {
            var descriptor = new XpackInfoRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequestAsync <XpackInfoRequestDescriptor, XpackInfoResponse>(descriptor));
        }
        public XpackInfoResponse Info(Action <XpackInfoRequestDescriptor> configureRequest = null)
        {
            var descriptor = new XpackInfoRequestDescriptor();

            configureRequest?.Invoke(descriptor);
            descriptor.BeforeRequest();
            return(DoRequest <XpackInfoRequestDescriptor, XpackInfoResponse>(descriptor));
        }