在connect module的patch.js 中有: var http = require('http') , res = http.ServerResponse.prototype 然后有用到 if (!res._hasConnectPatch) { 。。。
请问_hasConnectPatch 这个东西是哪里定义的属性呢?在http.serverresponse的nodejs API文档中也没有说啊
回复 (0)
暂无回复,成为第一个参与讨论的人。
参与回复
登录后即可参与回复。登录
在connect module的patch.js 中有: var http = require('http') , res = http.ServerResponse.prototype 然后有用到 if (!res._hasConnectPatch) { 。。。
请问_hasConnectPatch 这个东西是哪里定义的属性呢?在http.serverresponse的nodejs API文档中也没有说啊