Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sidorares/node-streamagent

Connect http/websockets node.js client using arbitrary duplex stream
https://github.com/sidorares/node-streamagent

Last synced: 21 days ago
JSON representation

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

Awesome Lists containing this project

README

        

node-streamagent
================

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

```js
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](https://d2weczhvl823v0.cloudfront.net/sidorares/node-streamagent/trend.png)](https://bitdeli.com/free "Bitdeli Badge")