16 lines
319 B
C#
16 lines
319 B
C#
|
|
using ChatApp.Shared.MessagePackObjects;
|
|||
|
|
|
|||
|
|
namespace ChatApp.Shared.Hubs
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Server -> Client API
|
|||
|
|
/// </summary>
|
|||
|
|
public interface IChatHubReceiver
|
|||
|
|
{
|
|||
|
|
void OnJoin(string name);
|
|||
|
|
|
|||
|
|
void OnLeave(string name);
|
|||
|
|
|
|||
|
|
void OnSendMessage(MessageResponse message);
|
|||
|
|
}
|
|||
|
|
}
|