摘要: http 模块 与 hello world hello world 首先引入 http 模块,然后调用 http 的 createServer 方法,创建一个服务器,最后调用 listen 监听一个端口.createServer 的第一个参数是一个函数,函数中接收 request 和 respons 阅读全文
posted @ 2019-03-14 15:59 月山 阅读(1852) 评论(0) 推荐(0) 编辑