Removed deprecated methods from lib/net.js
This commit is contained in:
parent
0e1a581916
commit
a3604cf233
@ -821,11 +821,6 @@ Stream.prototype.flush = function () {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
Stream.prototype.send = function () {
|
|
||||||
throw new Error('send renamed to write');
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
Stream.prototype._writeQueueLast = function () {
|
Stream.prototype._writeQueueLast = function () {
|
||||||
return this._writeQueue.length > 0 ? this._writeQueue[this._writeQueue.length-1]
|
return this._writeQueue.length > 0 ? this._writeQueue[this._writeQueue.length-1]
|
||||||
: null;
|
: null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user