摘要:
require('http') 内置模块server.jsvarhttp=require('http');functionstart(){ server=http.createServer(function(req,res){ res.writeHeader(200,{"Content-Type":"text/plain"}); res.end("Hellooschina\n"); }) server.listen(8000); console.log("httpdstart@8000&quo 阅读全文