Skip to content

Taxum / @taxum/core / routing / on

Function: on()

on(filter, handler): MethodRouter

Defined in: routing/method-router.ts:24

Registers a handler function to be executed when a specified method matches the provided filter.

Parameters

filter

MethodFilter

handler

Handler

Returns

MethodRouter