Skip to content
Related Articles

Related Articles

Node.js HTTP Module Complete Reference

View Discussion
Improve Article
Save Article
  • Last Updated : 18 Mar, 2021

To make HTTP requests in Node.js, there is a built-in module HTTP in Node.js to transfer data over the HTTP. To use the HTTP server in the node, we need to require the HTTP module. The HTTP module creates an HTTP server that listens to server ports and gives a response back to the client.

The Complete List of HTTP modules are listed below: 

Node.js HTTP Module

1. Class: http.Agent

2. Class: http.ClientRequest

3. Class: http.Server

4. Class: http.ServerResponse

5. Class: http.IncomingMessage

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!