Properties
Private
headers
headers: any
Private
Optional
statusCode
statusCode?: any
Methods
getHeader
- getHeader(name): undefined | string | string[]
Returns undefined | string | string[]
getHeaders
- getHeaders(): {
[name: string]: string | string[] | undefined;
} Returns {
[name: string]: string | string[] | undefined;
}
[name: string]: string | string[] | undefined
getStatus
- getStatus(): undefined | number
Returns undefined | number
setHeader
- setHeader(name, value?): void
Parameters
- name: string
Optional
value: string | string[]
Returns void
setStatus
- setStatus(statusCode): void
Returns void