DEP0063:ServerResponse.prototype.writeHeader()


类型:仅文档

¥Type: Documentation-only

node:http 模块 ServerResponse.prototype.writeHeader() API 已弃用。请改用 ServerResponse.prototype.writeHead()

¥The node:http module ServerResponse.prototype.writeHeader() API is deprecated. Please use ServerResponse.prototype.writeHead() instead.

ServerResponse.prototype.writeHeader() 方法从未被记录为官方支持的 API。

¥The ServerResponse.prototype.writeHeader() method was never documented as an officially supported API.