NodeJS學習之網絡操作

NodeJS -- 網絡操作 使用NodeJS內置的http模塊簡單實現HTTP服務器 var http = require('http'); http.createServer(function(req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.end('Hello world\n'); }).l
相關文章
相關標籤/搜索