We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
设置错误回调
设置错误回调,连接错误不会回调,发送或接收信息或解析错误会回调
function(number code, string msg, table sendmsg) --- code:错误代码,见状态码;msg:信息;sendmsg:若是发送消息失败导致,则回传发送的消息 end