http library

Node.js "http" module bindings.

Use top-level http object to access this module functionality. To create an HTTP agent see createHttpAgent.

Classes

ClientRequest
HTTP
Main entry point to Node's "http" module functionality.
HttpAgent
HttpAgentOptions
HttpServer
IncomingMessage
RequestOptions
ServerResponse

Properties

http HTTP
no setter

Functions

createHttpAgent([HttpAgentOptions? options]) HttpAgent
Convenience method for creating instances of "http" module's Agent class.

Typedefs

HttpRequestListener = void Function(IncomingMessage request, ServerResponse response)
Listener on HTTP requests of HttpServer.