Esempio n. 1
0
        public async void SendMessage()
        {
            if (!isJoin)
            {
                return;
            }

            await streamingClient.SendMessageAsync(Input.text);

            Input.text = string.Empty;
        }
Esempio n. 2
0
 public async Task SendMessageAsync(string message) => await chatHub.SendMessageAsync(message);
 public async void SendMessageAsync(ChatMessage message)
 {
     await _streamingHub.SendMessageAsync(message);
 }