SHARE
TWEET

Untitled

a guest Feb 27th, 2012 20 Never
  1.  
  2. var server = require('http'),
  3.     fugue  = require('fugue');
  4.  
  5. fugue.start(
  6.         server.createServer(function (req, res) {
  7.           res.writeHead(200, {'Content-Type': 'text/plain'});
  8.           res.end('Hello World\n');
  9.         })
  10.         , 3000, null, 10, {
  11.         verbose: true,
  12.         daemonize: true
  13. });
RAW Paste Data
Top