阿西河

所有教程

公众号
🌙
阿西河前端的公众号

我的收藏

    最近访问  (文章)

      教程列表

      抓包专区
      测试专区

      Node.js http2 response.statusCode

      Node.js http2 response.statusCode

      新增于: v8.4.0

      • < number>

      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.

      response.statusCode = 404;
      

      After response header was sent to the client, this property indicates the status code which was sent out.


      更多内容请参考:Node.js HTTP2,或者通过 点击对应菜单 进行查看;


      目录
      本文目录
      目录