Created
May 14, 2019 14:18
-
-
Save cyberpirate92/f2d4bff6920965244d76f1517093a25d 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
using Microsoft.AspNetCore.SignalR; | |
using System.Threading.Tasks; | |
namespace SignalR_LiveGraph | |
{ | |
public class GraphHub : Hub | |
{ | |
public Task SendValue(int value) | |
{ | |
return Clients.All.SendAsync("ReceiveValue", value); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment