summaryrefslogtreecommitdiffstats
path: root/node_modules/memorystream/test/example.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/memorystream/test/example.js')
-rw-r--r--node_modules/memorystream/test/example.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/node_modules/memorystream/test/example.js b/node_modules/memorystream/test/example.js
deleted file mode 100644
index 7d94369..0000000
--- a/node_modules/memorystream/test/example.js
+++ /dev/null
@@ -1,18 +0,0 @@
-var http = require('http'),
- MemoryStream = require('../index'),
- util = require('util');
-
-var options = {
- host: 'google.com'
-};
-var memStream = new MemoryStream(null,{
- readable : false
-});
-
-var req = http.request(options, function(res) {
- util.pump(res, memStream);
- res.on('end',function(){
- console.log(memStream.toString());
- });
-});
-req.end();