Taxum / @taxum/core / middleware/trace / Trace
Class: Trace
Defined in: middleware/trace.ts:164
Implements
Constructors
Constructor
new Trace(
inner
,classifier
,onRequest
,onResponse
,onFailure
):Trace
Defined in: middleware/trace.ts:171
Parameters
inner
classifier
onRequest
onResponse
onFailure
Returns
Trace
Methods
invoke()
invoke(
req
):Promise
<HttpResponse
>
Defined in: middleware/trace.ts:185
Process the request and return the response asynchronously.