()
| 38 | } = require('./symbols') |
| 39 | |
| 40 | function Hooks () { |
| 41 | this.onRequest = [] |
| 42 | this.preParsing = [] |
| 43 | this.preValidation = [] |
| 44 | this.preSerialization = [] |
| 45 | this.preHandler = [] |
| 46 | this.onResponse = [] |
| 47 | this.onSend = [] |
| 48 | this.onError = [] |
| 49 | this.onRoute = [] |
| 50 | this.onRegister = [] |
| 51 | this.onReady = [] |
| 52 | this.onListen = [] |
| 53 | this.onTimeout = [] |
| 54 | this.onRequestAbort = [] |
| 55 | this.preClose = [] |
| 56 | } |
| 57 | |
| 58 | Hooks.prototype = Object.create(null) |
| 59 |
nothing calls this directly
no outgoing calls
no test coverage detected