Node.js - HTTP Module
What is the purpose of calling
res.end() in a Node.js server when routing requests manually?res.end() in a Node.js server when routing requests manually?res.end() roleres.end() method signals that the response is complete and sends it to the client.res.end() also closes the connection for that request, so no more data can be sent.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions