mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
00944c7cc2
Its confusing to call a js class with a handle a "Wrap", usually it's the C++ handle that is called a Wrap (tcp_wrap, tls_wrap, ...). Its derived from Socket, and makes a JS stream look like a Socket, so call it that. Also, remove use of lib/_stream_wrap.js so it can be deprecated some time. PR-URL: https://github.com/nodejs/node/pull/25153 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
4 lines
70 B
JavaScript
4 lines
70 B
JavaScript
'use strict';
|
|
|
|
module.exports = require('internal/js_stream_socket');
|