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
Router
Class Router
Hierarchy
Router
Index
Properties
routes
Methods
add
Route
on
Response
to
Array
toJSON
Properties
routes
routes
:
RouteCollection
= new RouteCollection()
Methods
add
Route
add
Route
(
route
:
Route
|
RouteOption
)
:
this
添加路由
Parameters
route:
Route
|
RouteOption
Returns
this
on
Response
on
Response
(
context
:
HttpContext
)
:
Promise
<
void
>
Parameters
context:
HttpContext
Returns
Promise
<
void
>
to
Array
to
Array
(
)
:
Route
[]
Returns
Route
[]
toJSON
toJSON
(
space
:
2
)
:
string
Parameters
space:
2
Returns
string
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
Https
Server
Https
Server
Option
Objected
Map
Route
Route
Collection
Router
routes
add
Route
on
Response
to
Array
toJSON
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
添加路由