Question: createServer without listen ( ) method will not start the server, so it doesn't fit the definition of a constantly running piece of software listening
createServer without listen method will not start the server, so it doesn't fit the definition of a constantly running piece of software listening to reqeusts. However, the listen method invocation alone can satisfy the definition by serving the request and returning a response when it doesn't declare any route handlers.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
