(
req: http.IncomingMessage,
res: http.ServerResponse,
requestId: string
)
| 1340 | } |
| 1341 | |
| 1342 | async send404( |
| 1343 | req: http.IncomingMessage, |
| 1344 | res: http.ServerResponse, |
| 1345 | requestId: string |
| 1346 | ): Promise<void> { |
| 1347 | return this.sendError(req, res, requestId, 'NOT_FOUND', 404); |
| 1348 | } |
| 1349 | |
| 1350 | async sendError( |
| 1351 | req: http.IncomingMessage, |