Skip to content

Instantly share code, notes, and snippets.

@Ibro
Last active November 16, 2017 07:18
Show Gist options
  • Save Ibro/79e9ace18ecc58a9405ce3f19caf272b to your computer and use it in GitHub Desktop.
Save Ibro/79e9ace18ecc58a9405ce3f19caf272b to your computer and use it in GitHub Desktop.
ASP.NET Core SignalR chat with Angular 5 - https://codingblast.com/asp-net-core-signalr-chat-angular
public sendMessage(): void {
this.hubConnection
.invoke('sendToAll', this.nick, this.message)
.catch(err => console.error(err));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment