跳到主要内容
CNode

http.ServerResponse.prototype 的 _hasConnectPatch 属性是什么东西?

社区
Ssmalltiger发布于 13 年前
049750

在connect module的patch.js 中有: var http = require('http') , res = http.ServerResponse.prototype 然后有用到 if (!res._hasConnectPatch) { 。。。

请问_hasConnectPatch 这个东西是哪里定义的属性呢?在http.serverresponse的nodejs API文档中也没有说啊

查看回复

回复 (0)

暂无回复,成为第一个参与讨论的人。

参与回复

登录后即可参与回复。登录