nodeJs中创建服务器
摘要:
var http=require('http');var httpObj=http.createServer(function(req,res) { console.log('someBody:' + req.url); switch (req.url) { case '/... 阅读全文
posted @ 2015-12-17 12:50 qingzhu1224 阅读(200) 评论(0) 推荐(0) 编辑