Methods
Optional writeHead
- writeHead(statusCode: number, reasonPhrase?: string, headers?: OutgoingHttpHeaders): void
- writeHead(statusCode: number, headers?: OutgoingHttpHeaders): void
-
Parameters
-
statusCode: number
-
Optional reasonPhrase: string
-
Optional headers: OutgoingHttpHeaders
Returns void
-
Parameters
-
statusCode: number
-
Optional headers: OutgoingHttpHeaders
Returns void