Constructors
constructor
-
Void
Methods
[Symbol.iterator]
-
Returns any
Iterator
append
- append(name: any, value: any): void
-
Parameters
Returns void
Void
delete
-
Parameters
Returns void
Void
forEach
- forEach(callback: any): void
-
Parameters
Returns void
Void
get
-
Parameters
Returns any
Mixed
has
-
Parameters
Returns boolean
Boolean
keys
-
Returns any
Iterator
raw
-
Returns any
Object
set
- set(name: any, value: any): void
-
Parameters
Returns void
Void
values
-
Returns any
Iterator
Route handler parameter decorator. Extracts the
headers
property from thereq
object and populates the decorated parameter with the value ofheaders
.For example:
async update(@Headers('Cache-Control') cacheControl: string)
name of single header property to extract.
Request object