make websocket flush accessible.
This commit is contained in:
@ -96,6 +96,13 @@ CommandSocket.prototype.getReadyState = function() {
|
|||||||
return this.websocket.readyState;
|
return this.websocket.readyState;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flush the websocket.
|
||||||
|
*/
|
||||||
|
CommandSocket.prototype.flush = function() {
|
||||||
|
this.websocket.flush();
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Closes the websocket.
|
* Closes the websocket.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user