public override async Task SendConnectionAsync(string connectionId, string methodName, object[] args, CancellationToken cancellationToken = default) { if (string.IsNullOrEmpty(methodName)) { throw new ArgumentException(NullOrEmptyStringErrorMessage, nameof(methodName)); } if (string.IsNullOrEmpty(connectionId)) { throw new ArgumentException(NullOrEmptyStringErrorMessage, nameof(connectionId)); } var api = await _restApiProvider.GetSendToConnectionEndpointAsync(_appName, _hubName, connectionId); await _restClient.SendAsync(api, HttpMethod.Post, _productInfo, methodName, args, handleExpectedResponseAsync : null, cancellationToken : cancellationToken); }