예제 #1
0
 public async Task SendDataMessageAsync(DataMessage dataMessage)
 {
     await _hubClient.SendAsync(nameof(SendDataMessageAsync), dataMessage, _sessionName);
 }
예제 #2
0
 public override void OnDataMessageReceived(DataMessage dataMessage)
 {
     base.OnDataMessageReceived(dataMessage);
 }
 public async Task SendDataMessageAsync(DataMessage dataMessage)
 {
     await _hubService.SendDataMessageAsync(dataMessage);
 }
 public virtual void OnDataMessageReceived(DataMessage dataMessage)
 {
     _logger.LogInfo($"Data message received: {dataMessage}");
 }