Which method of the response object is used to end the response process in an HTTP server?

  • response.end()
  • response.finish()
  • response.complete()
  • response.stop()
The response.end() method is used to end the response process in an HTTP server. It finalizes the response and sends it to the client. The other options are not valid methods for ending the response.
Add your answer
Loading...

Leave a comment

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