statusCode
When using implicit headers (not calling response.writeHead()
explicitly), this property controls the status code that will be sent to the client when the headers get flushed.
response.statusCode = 404;
Content copied to clipboard
After response header was sent to the client, this property indicates the status code which was sent out.
Since
v0.4.0