http.ServerResponse 类


此对象由 HTTP 服务器在内部创建,而不是由用户创建。 它作为第二个参数传给 'request' 事件。

响应继承自,并额外实现以下内容:

This object is created internally by an HTTP server — not by the user. It is passed as the second parameter to the 'request' event.

The response inherits from Stream, and additionally implements the following: