mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
Removed deprecated methods from lib/net.js
This commit is contained in:
@@ -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