public async Task SendToGroup(SendToGroup webPubSubEvent) { var content = RequestContent.Create(webPubSubEvent.Message); var contentType = Utilities.GetContentType(webPubSubEvent.DataType); await _client.SendToGroupAsync(webPubSubEvent.Group, content, contentType, webPubSubEvent.Excluded).ConfigureAwait(false); }