Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sidorares/node-streamagent
- Owner: sidorares
- License: mit
- Created: 2013-10-18T04:39:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-01T05:50:10.000Z (over 7 years ago)
- Last Synced: 2024-10-03T07:35:58.911Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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")