Skip to content

Instantly share code, notes, and snippets.

@karlitros
Created July 19, 2012 15:35
Show Gist options
  • Save karlitros/3144735 to your computer and use it in GitHub Desktop.
Save karlitros/3144735 to your computer and use it in GitHub Desktop.
Hub class for SignalR communication between client and server
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SignalR.Hubs;
namespace LiveUpdate.Hubs
{
/// <summary>
/// Skeleton hub class used to establish connections.
/// We could pop methods in here that could be called directly by the client.
/// </summary>
[HubName("updateFeed")]
public class LiveUpdateHub : Hub
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment