Posted by: Pdfprep
Post Date: March 1, 2021
A developer wants to set up a secure web server with Node.js. The developer creates a directory locally called app-server, and the first file is app-server/index.js
Without using any third-party libraries, what should the developer add to index.js to create the secure web server?
A . const https =require(‘https’);
B . const server =require(‘secure-server’);
C . const tls = require(‘tls’);
D . const http =require(‘http’);
Answer: A