turn (req,res) pairs into a single duplex stream
Turn (req,res) pairs into a single readable/writable stream.
var httpDuplex = require'http-duplex'
Return a new readable/writable duplex stream
dup from the http request
and http response
dup has all the same methods has both
res, but on a single object.
With npm do:
npm install http-duplex