Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
http
ServerRequest
Interface ServerRequest
Hierarchy
NodeEventEmitter
ReadableStream
ServerRequest
Index
Properties
connection
headers
httpVersion
method
readable
trailers
url
Methods
addListener
destroy
emit
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
Properties
public
connection
:
NodeSocket
public
headers
:
string
public
httpVersion
:
string
public
method
:
string
public
readable
:
boolean
public
trailers
:
string
public
url
:
string
Methods
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
addListener
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
destroy
(
)
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
emit
(
event
:
string
, arg1
?:
any
, arg2
?:
any
)
Parameters
event:
string
arg1?:
any
optional
arg2?:
any
optional
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
listeners
(
event
:
string
)
:
Array<{ Function: any; }>
Parameters
event:
string
Returns
Array<{ Function: any; }>
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
on
(
event
:
string
, listener
:
Function
)
:
any
Parameters
event:
string
listener:
Function
Returns
any
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
once
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
pause
(
)
public
pipe
(
destination
:
WritableStream
, options
?:
{ end?: boolean; }
)
Parameters
destination:
WritableStream
options?:
{ end?: boolean; }
optional
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeAllListener
(
event
:
string
)
Parameters
event:
string
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
removeListener
(
event
:
string
, listener
:
Function
)
Parameters
event:
string
listener:
Function
public
resume
(
)
public
setEncoding
(
encoding
?:
string
)
Parameters
encoding?:
string
optional
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
public
setMaxListeners
(
n
:
number
)
Parameters
n:
number
Globals
assert
child_process
cluster
crypto
dgram
dns
domain
events
fs
http
https
net
os
path
punycode
querystring
readline
repl
stream
string_decoder
tls
tty
url
util
vm
zlib
STATUS_CODES
globalAgent
Agent
ClientRequest
ClientResponse
Server
ServerRequest
connection
headers
httpVersion
method
readable
trailers
url
addListener
destroy
emit
listeners
on
once
pause
pipe
removeAllListener
removeListener
resume
setEncoding
setMaxListeners
ServerResponse
createClient
createServer
get
request