@morojs/moro / HOOK_EVENTS
Variable: HOOK_EVENTS
constHOOK_EVENTS:object
Defined in: src/core/utilities/hooks.ts:10
Type Declaration
ERROR
readonlyERROR:"error"='error'
When a request fails at the server error boundary: hooks.before/after('error', ...)
REQUEST
readonlyREQUEST:"request"='request'
Pre-routing, after body parse: hooks.before/after('request', ...)
RESPONSE
readonlyRESPONSE:"response"='response'
After the response is flushed: hooks.before/after('response', ...)