make websocket flush accessible.

This commit is contained in:
Ralf Teusner
2016-09-01 17:31:46 +02:00
parent 0d550a44af
commit eacaa665f6

View File

@ -96,6 +96,13 @@ CommandSocket.prototype.getReadyState = function() {
return this.websocket.readyState;
};
/**
* Flush the websocket.
*/
CommandSocket.prototype.flush = function() {
this.websocket.flush();
};
/**
* Closes the websocket.
*/