Sha256: 3b44aaf8bf66280ff3980cbd0a0f30ac93900dace3bb221203ecb335f0cce649
Contents?: true
Size: 387 Bytes
Versions: 26
Compression:
Stored size: 387 Bytes
Contents
/** * Module dependencies. */ var connect = require('../../lib/connect'), Buffer = require('buffer').Buffer, body = new Buffer('Hello World', 'ascii'); connect.createServer( function(req, res, next){ 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