Type aliases
RequestOptions
ServerOptions
Variables
Let globalAgent
Functions
createServer
- createServer(requestListener?: http.RequestListener): Server
- createServer(options: ServerOptions, requestListener?: http.RequestListener): Server
-
Parameters
-
Optional requestListener: http.RequestListener
-
Parameters
-
-
Optional requestListener: http.RequestListener
get
-
Parameters
-
-
Optional callback: function
-
Parameters
-
url: string | URL
-
-
Optional callback: function
request
-
Parameters
-
-
Optional callback: function
-
Parameters
-
url: string | URL
-
-
Optional callback: function