Recommend this page to a friend! |
Classes of Igor Escobar | > | Terminal Crossword | > | chat-websocket/node_modules/express/node_modules/connect/test.js | > | 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) |