Skip to content

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

License

Notifications You must be signed in to change notification settings

sidorares/node-streamagent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-streamagent

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

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

Bitdeli Badge

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published