Skip to content

Instantly share code, notes, and snippets.

@renatoeufe
Created June 28, 2013 20:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save renatoeufe/5887753 to your computer and use it in GitHub Desktop.
Save renatoeufe/5887753 to your computer and use it in GitHub Desktop.
using Microsoft.AspNet.SignalR;
using Microsoft.AspNet.SignalR.Hubs;
namespace DemoSignalR.Web.Hubs
{
[HubName("formaHub")]
public class FormaHub : Hub
{
public void MoverForma(int x, int y)
{
Clients.Others.moverForma(x, y);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment