Squirrowse/Squirrowse.Core/Services/IConnectionManager.cs
2019-11-06 17:02:06 +01:00

13 lines
319 B
C#

using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
using Squirrowse.Core.Models;
namespace Squirrowse.Core.Services
{
public interface IConnectionManager
{
Task<HubConnection> GetConnection();
Task InitConnection(ConnectionType type);
Task Disconnect();
}
}