ExampleSignalR/HubListener/Interfaces/IChatListener.cs

11 lines
229 B
C#
Raw Normal View History

using Microsoft.AspNetCore.SignalR.Client;
namespace HubListener.Interfaces
{
internal interface IChatListener
{
Task Connect();
Task Disconnect();
Task SendMessage(string user, string message);
}
}