Hierarchy

  • Instance<V1, this>
    • KoaRouterClient

Constructors

  • Parameters

    • config: any

    Returns KoaRouterClient

Properties

acl: ShortHandRoute<V1>
all: ShortHandRoute<V1>
bind: ShortHandRoute<V1>
checkout: ShortHandRoute<V1>
config: any
connect: ShortHandRoute<V1>
copy: ShortHandRoute<V1>
delete: ShortHandRoute<V1>
get: ShortHandRoute<V1>
head: ShortHandRoute<V1>
link: ShortHandRoute<V1>
lock: ShortHandRoute<V1>
m-search: ShortHandRoute<V1>
merge: ShortHandRoute<V1>
mkactivity: ShortHandRoute<V1>
mkcalendar: ShortHandRoute<V1>
mkcol: ShortHandRoute<V1>
move: ShortHandRoute<V1>
notify: ShortHandRoute<V1>
options: ShortHandRoute<V1>
patch: ShortHandRoute<V1>
post: ShortHandRoute<V1>
propfind: ShortHandRoute<V1>
proppatch: ShortHandRoute<V1>
purge: ShortHandRoute<V1>
put: ShortHandRoute<V1>
rebind: ShortHandRoute<V1>
report: ShortHandRoute<V1>
search: ShortHandRoute<V1>
source: ShortHandRoute<V1>
subscribe: ShortHandRoute<V1>
trace: ShortHandRoute<V1>
unbind: ShortHandRoute<V1>
unlink: ShortHandRoute<V1>
unlock: ShortHandRoute<V1>
unsubscribe: ShortHandRoute<V1>
acl: ShortHandRoute<V1>
all: ShortHandRoute<V1>
bind: ShortHandRoute<V1>
checkout: ShortHandRoute<V1>
connect: ShortHandRoute<V1>
copy: ShortHandRoute<V1>
delete: ShortHandRoute<V1>
get: ShortHandRoute<V1>
head: ShortHandRoute<V1>
link: ShortHandRoute<V1>
lock: ShortHandRoute<V1>
m-search: ShortHandRoute<V1>
merge: ShortHandRoute<V1>
mkactivity: ShortHandRoute<V1>
mkcalendar: ShortHandRoute<V1>
mkcol: ShortHandRoute<V1>
move: ShortHandRoute<V1>
notify: ShortHandRoute<V1>
options: ShortHandRoute<V1>
patch: ShortHandRoute<V1>
post: ShortHandRoute<V1>
propfind: ShortHandRoute<V1>
proppatch: ShortHandRoute<V1>
purge: ShortHandRoute<V1>
put: ShortHandRoute<V1>
rebind: ShortHandRoute<V1>
report: ShortHandRoute<V1>
search: ShortHandRoute<V1>
source: ShortHandRoute<V1>
subscribe: ShortHandRoute<V1>
trace: ShortHandRoute<V1>
unbind: ShortHandRoute<V1>
unlink: ShortHandRoute<V1>
unlock: ShortHandRoute<V1>
unsubscribe: ShortHandRoute<V1>

Methods

  • Parameters

    • constraintStrategy: ConstraintStrategy<V1, string>

    Returns void

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns null | FindResult<V1>

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns null | FindRouteResult<V1>

  • Parameters

    • strategyName: string

    Returns boolean

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns boolean

  • Type Parameters

    • Context

    Parameters

    • req: IncomingMessage
    • res: ServerResponse<IncomingMessage>
    • Optional ctx: Context

    Returns any

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • handler: Handler<V1>

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • options: RouteOptions
    • handler: Handler<V1>

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • handler: Handler<V1>
    • store: any

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • options: RouteOptions
    • handler: Handler<V1>
    • store: any

    Returns void

  • Returns string

  • Parameters

    • opts: {
          commonPrefix?: boolean;
          includeMeta?: boolean | (string | symbol)[];
          method?: HTTPMethod;
      }
      • Optional commonPrefix?: boolean
      • Optional includeMeta?: boolean | (string | symbol)[]
      • Optional method?: HTTPMethod

    Returns string

  • Returns void

  • Parameters

    • constraintStrategy: ConstraintStrategy<V1, string>

    Returns void

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns null | FindResult<V1>

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns null | FindRouteResult<V1>

  • Parameters

    • strategyName: string

    Returns boolean

  • Parameters

    • method: HTTPMethod
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns boolean

  • Type Parameters

    • Context

    Parameters

    • req: IncomingMessage
    • res: ServerResponse<IncomingMessage>
    • Optional ctx: Context

    Returns any

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • Optional constraints: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • handler: Handler<V1>

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • options: RouteOptions
    • handler: Handler<V1>

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • handler: Handler<V1>
    • store: any

    Returns void

  • Parameters

    • method: HTTPMethod | HTTPMethod[]
    • path: string
    • options: RouteOptions
    • handler: Handler<V1>
    • store: any

    Returns void

  • Returns string

  • Parameters

    • opts: {
          commonPrefix?: boolean;
          includeMeta?: boolean | (string | symbol)[];
          method?: HTTPMethod;
      }
      • Optional commonPrefix?: boolean
      • Optional includeMeta?: boolean | (string | symbol)[]
      • Optional method?: HTTPMethod

    Returns string

  • Returns void