@grow-codes/zipkin - v0.1.1
Preparing search index...
index
FastifyInstanceLike
Interface FastifyInstanceLike
The parts of a Fastify instance the plugin uses.
interface
FastifyInstanceLike
{
addHook
(
name
:
"onRequest"
|
"onResponse"
,
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
done
:
FastifyDoneCallback
,
)
=>
void
,
)
:
unknown
;
addHook
(
name
:
"onError"
,
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
error
:
Error
,
done
:
FastifyDoneCallback
,
)
=>
void
,
)
:
unknown
;
}
Index
Methods
add
Hook
Methods
add
Hook
addHook
(
name
:
"onRequest"
|
"onResponse"
,
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
done
:
FastifyDoneCallback
,
)
=>
void
,
)
:
unknown
Parameters
name
:
"onRequest"
|
"onResponse"
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
done
:
FastifyDoneCallback
,
)
=>
void
Returns
unknown
addHook
(
name
:
"onError"
,
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
error
:
Error
,
done
:
FastifyDoneCallback
,
)
=>
void
,
)
:
unknown
Parameters
name
:
"onError"
hook
:
(
req
:
FastifyRequestLike
,
reply
:
FastifyReplyLike
,
error
:
Error
,
done
:
FastifyDoneCallback
,
)
=>
void
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
add
Hook
@grow-codes/zipkin - v0.1.1
Loading...
The parts of a Fastify instance the plugin uses.