public async void SendMessage() { if (!isJoin) { return; } await streamingClient.SendMessageAsync(Input.text); Input.text = string.Empty; }
public async Task SendMessageAsync(string message) => await chatHub.SendMessageAsync(message);
public async void SendMessageAsync(ChatMessage message) { await _streamingHub.SendMessageAsync(message); }