Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
http
Dynamic module http
Index
Variables
STATUS_CODES
globalAgent
Interfaces
Agent
Classes
ClientRequest
ClientResponse
Server
ServerRequest
ServerResponse
Functions
createClient
createServer
get
request
Variables
STATUS_CODES
:
{ [errorCode: number]: string; [errorCode: string]: string; }
(
)
:
string
Returns
string
(
)
:
string
Returns
string
globalAgent
:
Agent
Functions
createClient
(
port
?:
number
, host
?:
string
)
:
any
Parameters
port?:
number
optional
host?:
string
optional
Returns
any
createServer
(
requestListener
?:
(request: "http".ServerRequest, response: "http".ServerResponse) => void
)
:
Server
Parameters
requestListener?:
(request: "http".ServerRequest, response: "http".ServerResponse) => void
optional
Returns
Server
get
(
options
:
any
, callback
?:
Function
)
:
ClientRequest
Parameters
options:
any
callback?:
Function
optional
Returns
ClientRequest
request
(
options
:
any
, callback
?:
Function
)
:
ClientRequest
Parameters
options:
any
callback?:
Function
optional
Returns
ClientRequest
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
mu2
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
STATUS_CODES
globalAgent
Agent
ClientRequest
ClientResponse
Server
ServerRequest
ServerResponse
createClient
createServer
get
request