ConnectClose typedef

ConnectClose = void Function(SocketConnectCloseModel closeDetail)

连接被关闭回调 服务器主动断开连接,或者意外断开回调

Implementation

typedef ConnectClose = void Function(SocketConnectCloseModel closeDetail);