GoEasyIM SDK - 断开连接

断开连接

     //断开连接
    var promise = im.disconnect();

    promise.then(function() {
        console.log("Disconnection successful.");
    }).catch(function(error) {
        console.log("Failed to disconnect GoEasy, code:"+error.code+ ",error:"+error.content);
    });

results matching ""

    No results matching ""