In the http module, the ______ method of the response object is used to write a chunk of the response body.

  • send
  • write
  • respond
In the http module, the write method of the response object is used to write a chunk of the response body. This method is typically used in scenarios where you want to stream data to the client as it becomes available, such as when serving large files.
Add your answer
Loading...

Leave a comment

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