2023-07-10 16:59:11 +05:00
|
|
|
namespace AsbCloudWebApi.SignalR.ConnectionManager;
|
|
|
|
|
|
|
|
public interface IConnectionManager
|
|
|
|
{
|
2023-07-11 19:07:57 +05:00
|
|
|
void AddConnection(int userId,
|
2023-07-10 16:59:11 +05:00
|
|
|
string connectionId);
|
|
|
|
|
2023-07-11 19:07:57 +05:00
|
|
|
void RemoveConnection(int userId);
|
2023-07-10 16:59:11 +05:00
|
|
|
|
2023-07-11 19:07:57 +05:00
|
|
|
string? GetConnectionIdByUserId(int userId);
|
2023-07-10 16:59:11 +05:00
|
|
|
}
|