Skip to content

Instantly share code, notes, and snippets.

@diegobersano

diegobersano/Hub.cs

Last active May 22, 2016
Embed
What would you like to do?
using System;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using Microsoft.AspNet.SignalR.Hubs;
namespace Microsoft.AspNet.SignalR
{
public abstract class Hub : IHub, IUntrackedDisposable, IDisposable
{
protected Hub();
public IHubCallerConnectionContext<dynamic> Clients { get; set; }
public HubCallerContext Context { get; set; }
public IGroupManager Groups { get; set; }
public void Dispose();
public virtual Task OnConnected();
public virtual Task OnDisconnected(bool stopCalled);
public virtual Task OnReconnected();
protected virtual void Dispose(bool disposing);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.