Last active
December 23, 2019 14:10
-
-
Save zavr-1/8f10b1392f77a682281620726561eb43 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Set accept object. | |
* @api private NOT JSDOC | |
*/ | |
set accept(obj) { | |
this._accept = obj; | |
}, | |
/** | |
* Return request header. | |
* @api public NOT JSDOC | |
*/ | |
get header() { | |
return this.req.headers; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment