Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Mar 14, 2012
1 parent 1ef7f15 commit 193ab91
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/http/app.js
Expand Up @@ -5,8 +5,11 @@ var zmq = require('../../')
, Stream = require('stream')

var server = http.createServer(function(req, res){
console.log(req.url);
console.log(req.method);
req.on('data', function(chunk){
res.write(chunk);
}).on('end', function(){
res.end();
});
});

var socks = {};
Expand Down

0 comments on commit 193ab91

Please sign in to comment.