add docs for .headersSent alias

This commit is contained in:
TJ Holowaychuk 2013-11-08 14:38:35 -08:00
parent 836679c610
commit 770183771e

View file

@ -636,6 +636,13 @@ Context.prototype = {
return this.res.headersSent;
},
/**
* Alias of `.headerSent`
*
* @return {Boolean}
* @api public
*/
get headersSent() {
return this.res.headersSent;
},