摘要: // 用于创建网站服务器的模块 const http = require('http'); // 创建web服务器,app对象就是网站服务器对象 const app = http.createServer(); // 当客户端发送请求的时候 app.on('request', (req, res) 阅读全文
posted @ 2020-07-01 22:20 鼓舞飞扬 阅读(136) 评论(0) 推荐(0)
摘要: https://www.jianshu.com/p/f89caca939d1 阅读全文
posted @ 2020-07-01 11:38 鼓舞飞扬 阅读(94) 评论(0) 推荐(0)