From ec912a3db7a898787becc6aca65b9bfc35a00b28 Mon Sep 17 00:00:00 2001 From: hustLer2k <61846786+hustLer2k@users.noreply.github.com> Date: Tue, 31 Oct 2023 16:09:26 +0300 Subject: [PATCH] docs: add missing entries to response aliases in context.md (#1769) --- docs/api/context.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/api/context.md b/docs/api/context.md index 298a8970d..5d7c336f7 100644 --- a/docs/api/context.md +++ b/docs/api/context.md @@ -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` @@ -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()` @@ -201,3 +203,4 @@ Koa uses [http-assert](https://github.com/jshttp/http-assert) for assertions. - `ctx.remove()` - `ctx.lastModified=` - `ctx.etag=` + - `ctx.writable`