res. end()

res. end()
res.status(404).end()

End the response process. This method actually comes from the Node core, specifically the response.end() method of http.ServerResponse

Comments