public Task <SlmStopResponse> StopAsync(Action <SlmStopRequestDescriptor> configureRequest = null, CancellationToken cancellationToken = default) { var descriptor = new SlmStopRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequestAsync <SlmStopRequestDescriptor, SlmStopResponse>(descriptor)); }
public SlmStopResponse Stop(Action <SlmStopRequestDescriptor> configureRequest = null) { var descriptor = new SlmStopRequestDescriptor(); configureRequest?.Invoke(descriptor); descriptor.BeforeRequest(); return(DoRequest <SlmStopRequestDescriptor, SlmStopResponse>(descriptor)); }