首页 Node.js核心模块手册

response对象方法


属性 描述
trailers 获取,服务器 addTrailers()方法 追加的响应头消息
   

方法 描述
on() 绑定事件
setEncoding() 设置编码,参考:encoding