Skip to content

Commit

Permalink
docs: add missing entries to response aliases in context.md (#1769)
Browse files Browse the repository at this point in the history
  • Loading branch information
hustLer2k authored Oct 31, 2023
1 parent 814a2a5 commit ec912a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ Koa uses [http-assert](https://github.com/jshttp/http-assert) for assertions.

- `ctx.body`
- `ctx.body=`
- `ctx.has()`
- `ctx.status`
- `ctx.status=`
- `ctx.message`
Expand All @@ -193,6 +194,7 @@ Koa uses [http-assert](https://github.com/jshttp/http-assert) for assertions.
- `ctx.length`
- `ctx.type=`
- `ctx.type`
- `ctx.vary()`
- `ctx.headerSent`
- `ctx.redirect()`
- `ctx.attachment()`
Expand All @@ -201,3 +203,4 @@ Koa uses [http-assert](https://github.com/jshttp/http-assert) for assertions.
- `ctx.remove()`
- `ctx.lastModified=`
- `ctx.etag=`
- `ctx.writable`

0 comments on commit ec912a3

Please sign in to comment.