Without using any third-party libraries, what should the developer add to index.js to create the secure web server?

A developer wants to set up a secure web server withNode.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

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments