Aetheria/Assets/Scripts/ServerShared/Hubs/IChatHubReceiver.cs
hyperion51 a0c8dbee72 Initial Client/Server Communication
#1
Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
2020-02-26 17:48:40 +00:00

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);
}
}