public async Task SendDataMessageAsync(DataMessage dataMessage) { await _hubClient.SendAsync(nameof(SendDataMessageAsync), dataMessage, _sessionName); }
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}"); }