温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/node/http2/Http2ServerResponse/statusCode
点击访问原文链接

Http2ServerResponse.statusCode property | Node.js http2 module | Bun

Http2ServerResponse.statusCode property | Node.js http2 module | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    When using implicit headers (not calling `response.writeHead()` explicitly), this property controls the status code that will be sent to the client when the headers get flushed. ```js response.statusCode = 404; ``` After response header was sent to the client, this property indicates the status code which was sent out.