Skip to content

Instantly share code, notes, and snippets.

@DanielSSilva
Created October 10, 2017 13:00
Show Gist options
  • Save DanielSSilva/9e2078f880d53b9913decc5ddee9df9f to your computer and use it in GitHub Desktop.
Save DanielSSilva/9e2078f880d53b9913decc5ddee9df9f to your computer and use it in GitHub Desktop.
SignalR sample
namespace Microsoft.AspNetCore.SignalR
{
public class Hub : IDisposable
{
public Hub();
public IHubClients Clients { get; set; }
public HubCallerContext Context { get; set; }
public IGroupManager Groups { get; set; }
public void Dispose();
public virtual Task OnConnectedAsync();
public virtual Task OnDisconnectedAsync(Exception exception);
protected virtual void Dispose(bool disposing);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment