Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
WebServerResponse
Interface WebServerResponse
Index
Properties
headers
statusCode
Methods
close
closeGracefully
header
setEncoding
setHeader
write
writeHead
Properties
public
headers
:
{ [name: string]: string; }
(
)
:
string
Returns
string
public
statusCode
:
number
Methods
public
close
(
)
public
closeGracefully
(
)
public
header
(
name
:
string
)
:
string
Parameters
name:
string
Returns
string
public
setEncoding
(
encoding
:
string
)
Parameters
encoding:
string
public
setHeader
(
name
:
string
, value
:
string
)
Parameters
name:
string
value:
string
public
write
(
data
:
string
)
Parameters
data:
string
public
writeHead
(
statusCode
:
number
, headers
?:
{ [name: string]: string; }
)
Parameters
statusCode:
number
headers?:
{ [name: string]: string; }
optional
Globals