We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c178dd1 commit 12f9d14Copy full SHA for 12f9d14
www/websocket.js
@@ -19,7 +19,7 @@
19
/**
20
* Cordova WebSocket Plugin for Android
21
* @author KNOWLEDGECODE <knowledgecode@gmail.com>
22
- * @version 0.12.0
+ * @version 0.12.1
23
*/
24
(function (window) {
25
'use strict';
@@ -264,6 +264,10 @@
264
WebSocketPrototype.prototype.constructor = WebSocketPrototype;
265
WebSocket.prototype = new WebSocketPrototype();
266
WebSocket.prototype.constructor = WebSocket;
267
+ WebSocket.CONNECTING = 0;
268
+ WebSocket.OPEN = 1;
269
+ WebSocket.CLOSING = 2;
270
+ WebSocket.CLOSED = 3;
271
WebSocket.pluginOptions = {};
272
module.exports = WebSocket;
273
window.addEventListener('message', taskQueue.listener, true);
0 commit comments