mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Removed deprecated methods from lib/net.js
This commit is contained in:
1 parent
0e1a581916
commit
a3604cf233
1 file changed
-5
@@ -821,11 +821,6 @@ Stream.prototype.flush = function () {
|
||||
};
|
||||
|
||||
|
||||
Stream.prototype.send = function () {
|
||||
throw new Error('send renamed to write');
|
||||
};
|
||||
|
||||
|
||||
Stream.prototype._writeQueueLast = function () {
|
||||
return this._writeQueue.length > 0 ? this._writeQueue[this._writeQueue.length-1]
|
||||
: null;
|
||||
|
||||
Reference in new issue
Block a user