CNode

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

Ssmalltiger发布于13 年前最后回复13 年前0 回复4962 浏览0 收藏

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

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

查看回复

回复 (0)

暂无回复,成为第一个参与讨论的人。
参与回复
登录后即可参与回复。登录