public async Task <SignalRServerResponse> RequestSingleImageCapture() { var response = new SignalRServerResponse(); await Clients.Group(Cam_GROUP).SendAsync(nameof(RequestSingleImageCapture)); return(response); }
public async Task <SignalRServerResponse> UpdateProgress(string stepName, int currentStep, int totalSteps) { var response = new SignalRServerResponse(); await Clients.Group(SPECTATORS_GROUP).SendAsync(nameof(UpdateProgress), new { StepName = stepName, CurrentStep = currentStep, TotalSteps = totalSteps }); return(response); }