Commit 1738c778 authored by Fedor Indutny's avatar Fedor Indutny
Browse files

streams: introduce StreamWrap and JSStream

Introduce a way to wrap plain-js `stream.Duplex` streams into C++
StreamBase's child class. With such method at hand it is now possible to
pass `stream.Duplex` instance as a `socket` parameter to
`tls.connect()`.

PR-URL: https://github.com/iojs/io.js/pull/926


Reviewed-By: default avatarChris Dickinson <christopher.s.dickinson@gmail.com>
parent e00c938d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment