#1 Followed the MagicOnion quickstart guide, borrowing code from the chat sample app to get something working
15 lines
384 B
C#
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();
|
|
}
|
|
}
|