using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TouchSocket.Core;
namespace TouchSocket.Sockets
{
///
/// 具有断开连接的插件接口
///
public interface IDisconnectedPlguin:IPlugin
{
///
/// 会话断开后触发
///
/// 客户端
/// 参数
[AsyncRaiser]
void OnDisconnected(object client, DisconnectEventArgs e);
///
/// 会话断开后触发
///
///
///
///
Task OnDisconnectedAsync(object client, DisconnectEventArgs e);
}
}