Taxum / @taxum/core / routing / HandlerService
Class: HandlerService
Defined in: routing/handler.ts:132
A service that wraps a handler function.
Implements
Constructors
Constructor
new HandlerService(
handler
):HandlerService
Defined in: routing/handler.ts:135
Parameters
handler
Returns
HandlerService
Methods
invoke()
invoke(
req
):Promise
<HttpResponseLike
>
Defined in: routing/handler.ts:139
Process the request and return the response asynchronously.