Sha256: 5bb812be03e704d79e8421b92e47d890597810d1cd8b8b780e663fa044ef5e97

Contents?: true

Size: 331 Bytes

Versions: 26

Compression:

Stored size: 331 Bytes

Contents

/**
 * Module dependencies.
 */

var http = require('http'),
    Buffer = require('buffer').Buffer,
    body = new Buffer('Hello World', 'ascii');

http.createServer(function(req, res){
    res.writeHead(200, {
        'Content-Type': 'text/plain',
        'Content-Length': body.length
    });
    res.end(body);
}).listen(3000);

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
vulcan-0.8.2 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.8.1 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.8.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.7.2 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.7.1 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.7.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.6.1 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.6.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.5.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.4.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.3.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.5 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.4 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.3 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.2 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.1 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.2.0 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.1.6 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.1.5 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js
vulcan-0.1.4 server/node_modules/connect-form/support/connect/benchmarks/hello-world/node.js