Skip to content

Instantly share code, notes, and snippets.

@andrebaltieri
Created July 9, 2015 21:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save andrebaltieri/df178445a8463316b0fa to your computer and use it in GitHub Desktop.
using Microsoft.AspNet.SignalR;
namespace ChatSample.Hubs
{
public class ChatHub : Hub
{
public void Send(string message)
{
Clients.All.addMessage(message);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment