diff --git a/lib/context.js b/lib/context.js index 080b609..fc97ee3 100644 --- a/lib/context.js +++ b/lib/context.js @@ -636,6 +636,13 @@ Context.prototype = { return this.res.headersSent; }, + /** + * Alias of `.headerSent` + * + * @return {Boolean} + * @api public + */ + get headersSent() { return this.res.headersSent; },