http-duplex

turn (req,res) pairs into a single duplex stream

http-duplex

Turn (req,res) pairs into a single readable/writable stream.

example

methods

var httpDuplex = require('http-duplex')

Return a new readable/writable duplex stream dup from the http request req and http response res.

dup has all the same methods has both req and res, but on a single object.

install

With npm do:

npm install http-duplex

license

MIT