Squirrowse/Squirrowse.Core/Services/IConnectionManager.cs

13 lines
319 B
C#
Raw Normal View History

2019-11-05 17:00:36 +01:00
using System.Threading.Tasks;
using Microsoft.AspNetCore.SignalR.Client;
2019-11-06 17:02:06 +01:00
using Squirrowse.Core.Models;
2019-11-06 17:02:06 +01:00
namespace Squirrowse.Core.Services
{
public interface IConnectionManager
{
2019-11-05 17:00:36 +01:00
Task<HubConnection> GetConnection();
2019-11-06 17:02:06 +01:00
Task InitConnection(ConnectionType type);
2019-11-06 11:49:39 +01:00
Task Disconnect();
}
}