Search
Preparing search index...
The search index is not available
Prudence JavaScript and TypeScript APIs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Prudence JavaScript and TypeScript APIs
prudence
Server
Class Server
Hierarchy
Server
Implements
Startable
Index
Constructors
constructor
Methods
start
stop
Constructors
constructor
new
Server
(
config
?:
{
address
?:
string
;
debug
?:
boolean
;
handler
?:
HandleFunction
|
Handler
;
handlerTimeout
?:
number
;
idleTimeout
?:
number
;
name
?:
string
;
ncsaLogFileSuffix
?:
string
;
port
?:
number
;
protocol
?:
"dual"
|
"ipv6"
|
"ipv4"
;
readHeaderTimeout
?:
number
;
readTimeout
?:
number
;
tls
?:
{
certificate
?:
string
;
generate
?:
boolean
;
key
?:
string
}
;
writeTimeout
?:
number
}
)
:
Server
Parameters
Optional
config:
{
address
?:
string
;
debug
?:
boolean
;
handler
?:
HandleFunction
|
Handler
;
handlerTimeout
?:
number
;
idleTimeout
?:
number
;
name
?:
string
;
ncsaLogFileSuffix
?:
string
;
port
?:
number
;
protocol
?:
"dual"
|
"ipv6"
|
"ipv4"
;
readHeaderTimeout
?:
number
;
readTimeout
?:
number
;
tls
?:
{
certificate
?:
string
;
generate
?:
boolean
;
key
?:
string
}
;
writeTimeout
?:
number
}
Optional
address
?:
string
Optional
debug
?:
boolean
Optional
handler
?:
HandleFunction
|
Handler
Optional
handler
Timeout
?:
number
Optional
idle
Timeout
?:
number
Optional
name
?:
string
Optional
ncsa
Log
File
Suffix
?:
string
Optional
port
?:
number
Optional
protocol
?:
"dual"
|
"ipv6"
|
"ipv4"
Optional
read
Header
Timeout
?:
number
Optional
read
Timeout
?:
number
Optional
tls
?:
{
certificate
?:
string
;
generate
?:
boolean
;
key
?:
string
}
Optional
certificate
?:
string
Optional
generate
?:
boolean
Optional
key
?:
string
Optional
write
Timeout
?:
number
Returns
Server
Methods
start
start
(
)
:
void
Returns
void
stop
stop
(
)
:
void
Returns
void
Exports
ard
env
os
prudence
scriptlet
transcribe
util
Server
constructor
start
stop
Generated using
TypeDoc