nodejs模块connect源码分析
摘要:connect是一个web server中间件。使用方法:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->varconnect=require('connect');connect(connect.static(__dirname+'/public',{maxAge:0}),function(req,res){res.setHeader('Content-Type','text/html
阅读全文
posted @ 2011-11-26 21:01

浙公网安备 33010602011771号