http.ServerResponse 类


http.ServerResponse 对象由 http.Server 内部创建。 作为第二个参数传入 'request' 事件。

http.ServerResponse 类继承自

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: