关于javascript:前端知识点提炼六月份

2次阅读

共计 236 个字符,预计需要花费 1 分钟才能阅读完成。

1.Koa

Response 别名
  • 以下拜访器和 Response 别名等效:

    • ctx.body
      ctx.body=
      ctx.status
      ctx.status=
      ctx.message
      ctx.message=
      ctx.length=
      ctx.length
      ctx.type=
      ctx.type
      ctx.headerSent
      ctx.redirect()
      ctx.attachment()
      ctx.set()
      ctx.append()
      ctx.remove()
      ctx.lastModified=
      ctx.etag=
正文完
 0