Created
June 12, 2018 15:41
-
-
Save ssougnez/4e7906155e9abdb953226b6d3caf761a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public async Task NewMessage(string username, string message) | |
{ | |
await Clients.All.SendAsync("messageReceived", username, message); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment