streamagent

Connect http/websockets client using arbitrary duplex stream

npm install streamagent
1 downloads in the last week
4 downloads in the last month

node-streamagent

Connect http/websockets node.js client using arbitrary duplex stream

   var net         = require('net');
   var StreamAgent = require('streamagent');
   http.request({path: '/some-endpoint', agent: StreamAgent(net.connect('/var/some.sock')), function(res) {
     // ..
   }).end();
npm loves you