Skip to main content
IncomingMessage.prototype.statusCode - http - Node documentation
property IncomingMessage.prototype.statusCode

Usage in Deno

import { IncomingMessage } from "node:http";

Only valid for response obtained from ClientRequest.

The 3-digit HTTP response status code. E.G. 404.

Type

number | undefined
Back to top