16 lines
348 B
C#
16 lines
348 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Syski.WebSocket.Services.WebSockets
|
|
{
|
|
public interface IWebSocketHandler
|
|
{
|
|
|
|
Task OnConnected(WebSocketConnection webSocketConnection);
|
|
|
|
Task OnDisconnected(WebSocketConnection webSocketConnection);
|
|
|
|
Task OnReceiveMessage(WebSocketConnection webSocketConnection);
|
|
|
|
}
|
|
}
|