Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Router

Hierarchy

  • Router

Index

Properties

Methods

Properties

routes

routes: RouteCollection = new RouteCollection()

Methods

addRoute

  • 添加路由

    Parameters

    Returns this

onResponse

  • Parameters

    Returns Promise<void>

toArray

  • Returns Route[]

toJSON

  • toJSON(space: 2): string
  • Parameters

    • space: 2

    Returns string

Generated using TypeDoc