this.setConnectionLostTimeout(0);
取消連接超時(shí)奏属,實(shí)測(cè)可用,否則服務(wù)會(huì)主動(dòng)關(guān)閉websocket連接
WebSocket長(zhǎng)連接斷開(kāi)1006The connection was closed because the other endpoint did not respond with a pon...各位大神有通過(guò)WebSocket做過(guò)長(zhǎng)連接的皆串,android端這邊使用WebSocket長(zhǎng)連接時(shí)不時(shí)就關(guān)閉入偷,關(guān)閉響應(yīng)碼是1006追驴。雖然有做心跳包處理,但是這個(gè)問(wèn)題還是依然存在...