flutter_socket_util library
Classes
Typedefs
- ConnectClose = void Function(SocketConnectCloseModel closeDetail)
- 连接被关闭回调 服务器主动断开连接,或者意外断开回调
- ConnectError = void Function(String? message)
- 连接失败回调
- ConnectOpen = void Function(String? successUrl)
- 连接成功回调,只会调用一次
- MessageHandle = void Function(String? message)
- 收到消息回调