From 770183771e526e012a2b943414538e4226804e78 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Fri, 8 Nov 2013 14:38:35 -0800 Subject: [PATCH] add docs for .headersSent alias --- lib/context.js | 7 +++++++ 1 file changed, 7 insertions(+) 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; },