예제 #1
0
 public async Task SendSensorData(SensorDataVM data)
 {
     await Clients.All.SendAsync("ReceiveSensorData", data);
 }
예제 #2
0
 private async Task SendSensorData(SensorDataVM data)
 {
     await _connection.InvokeAsync("SendSensorData", data);
 }