In the following code: require("http").createServer((req, res) => {...}) What class is the "res" object? code example
Example: node js response header
response.setHeader("Content-Type", "text/html");
response.setHeader("Content-Type", "text/html");