Skip to content

Instantly share code, notes, and snippets.

@DanielSSilva
Created October 10, 2017 13:13
Show Gist options
  • Save DanielSSilva/6494d3d1e77609603e53fd068498cfb0 to your computer and use it in GitHub Desktop.
Save DanielSSilva/6494d3d1e77609603e53fd068498cfb0 to your computer and use it in GitHub Desktop.
SignalR sample
namespace Microsoft.AspNetCore.SignalR
{
public interface IClientProxy
{
//
// Summary:
// Invokes a method on the connection(s) represented by the Microsoft.AspNetCore.SignalR.IClientProxy
// instance.
//
// Parameters:
// method:
// name of the method to invoke
//
// args:
// argumetns to pass to the client
//
// Returns:
// A task that represents when the data has been sent to the client.
Task InvokeAsync(string method, params object[] args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment