摘要:
一 打开方式: 二 常用命令 快捷使用方式 阅读全文
摘要:
1 //一 使用require指令来载入http模块 2 var http = require('http'); 3 //二使用http.createServer()的方法创建服务器 4 http.createServer(function(request,response){ 5 //发送HTTP头部 6 //HTTP状态值:200 7 //内容类型:text... 阅读全文