Search
Preparing search index...
The search index is not available
@easy-node/server - v0.0.8
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
HttpServerOption
Class HttpServerOption<K, V>
Type parameters
K
V
Hierarchy
ObjectedMap
<
ServerOptions
>
HttpServerOption
Index
Properties
size
Methods
clear
delete
for
Each
get
has
set
stringify
toJSONObject
create
toJSONObject
Properties
Readonly
size
size
:
number
Methods
clear
clear
(
)
:
void
Returns
void
delete
delete
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
for
Each
for
Each
(
callbackfn
:
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
, thisArg
?:
any
)
:
void
Parameters
callbackfn:
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
=>
void
(
value
:
V
, key
:
K
, map
:
Map
<
K
,
V
>
)
:
void
Parameters
value:
V
key:
K
map:
Map
<
K
,
V
>
Returns
void
Optional
thisArg:
any
Returns
void
get
get<K>
(
key
:
K
)
:
ServerOptions
[
K
]
Type parameters
K
:
keyof
ServerOptions
Parameters
key:
K
Returns
ServerOptions
[
K
]
has
has
(
key
:
K
)
:
boolean
Parameters
key:
K
Returns
boolean
set
set<K, V>
(
key
:
K
, value
:
V
)
:
this
Type parameters
K
:
keyof
ServerOptions
V
:
ServerOptions
[
K
]
Parameters
key:
K
value:
V
Returns
this
stringify
stringify
(
space
?:
number
)
:
string
Parameters
Default value
space:
number
= 0
Returns
string
toJSONObject
toJSONObject
(
)
:
JSONObject
<
ServerOptions
>
Returns
JSONObject
<
ServerOptions
>
Static
create
create
(
options
?:
ServerOptions
)
:
HttpServerOption
Parameters
Default value
options:
ServerOptions
= {}
Returns
HttpServerOption
Static
toJSONObject
toJSONObject<T, O>
(
objectedMap
:
O
)
:
JSONObject
<
T
>
Type parameters
T
:
object
O
:
ObjectedMap
<
ServerOptions
>
Parameters
objectedMap:
O
Returns
JSONObject
<
T
>
Globals
Http
Method
Http
Status
Mime
Types
Directory
Etag
File
File
System
Http
Context
Http
Exception
Http
Path
Param
Http
Query
Param
Http
Query
Param
Parse
Option
Http
Query
Param
Stringify
Option
Http
Request
Http
Response
Http
Server
Http
Server
Option
size
clear
delete
for
Each
get
has
set
stringify
toJSONObject
create
toJSONObject
Https
Server
Https
Server
Option
Objected
Map
Route
Route
Collection
Router
Directory
Create
Option
Http
Path
Param
Constructor
JSONObject
Constructor
Parsed
String
Etag
Route
Handler
Route
Option
Default
Decoder
Default
Encoder
JSONObject
Raw
Method
JSONObject
to
Hex
Generated using
TypeDoc