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-10-31 17:00:52 +01:00
|
|
|
|
|
2019-11-06 17:02:06 +01:00
|
|
|
|
namespace Squirrowse.Core.Services
|
2019-10-31 17:00:52 +01:00
|
|
|
|
{
|
|
|
|
|
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();
|
2019-10-31 17:00:52 +01:00
|
|
|
|
}
|
|
|
|
|
}
|