File: chat-websocket/node_modules/express/node_modules/connect/test.js

Recommend this page to a friend!
  Classes of Igor Escobar  >  Terminal Crossword  >  chat-websocket/node_modules/express/node_modules/connect/test.js  >  Download  
File: chat-websocket/node_modules/express/node_modules/connect/test.js
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Terminal Crossword
Generate a crosswords board on a text console
Author: By
Last change:
Date: 1 year ago
Size: 199 bytes
 

Contents

Class file image Download
/** * Module dependencies. */ var http = require('http'); var body = 'hello' http.createServer(function(req, res){ res.setHeader('Content-Length', body.length); res.end(body) }).listen(3000)