Aetheria/Assets/Scripts/MagicOnion.Abstractions/IStreamingHub.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

15 lines
384 B
C#

using System.Threading.Tasks;
namespace MagicOnion
{
public interface IStreamingHubMarker
{
}
public interface IStreamingHub<TSelf, TReceiver> : IStreamingHubMarker, IServiceMarker
{
TSelf FireAndForget(); // if changed to get-only property, intellisense does not work on VS2017.
Task DisposeAsync();
Task WaitForDisconnect();
}
}