Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

http module in nodejs


//HTTP MODULE NODE.JS
var http = require('http');
var server = http.createServer(function(req, res){
  //write code here
});
server.listen(5000); 
 
PREVIOUS NEXT
Tagged: #http #module #nodejs
ADD COMMENT
Topic
Name
9+7 =