In the http module, the ______ event of the server object is emitted when the server closes.

  • close
  • end
  • disconnect
  • terminate
In the http module, the close event of the server object is emitted when the server closes. This event allows you to perform cleanup or take action when the server is shutting down. The other options (end, disconnect, terminate) do not represent the server closing event in the HTTP module.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *