(opts = {})
| 792 | } |
| 793 | |
| 794 | function printRoutes (opts = {}) { |
| 795 | // includeHooks:true - shortcut to include all supported hooks exported by fastify.Hooks |
| 796 | opts.includeMeta = opts.includeHooks |
| 797 | ? opts.includeMeta ? supportedHooks.concat(opts.includeMeta) : supportedHooks |
| 798 | : opts.includeMeta |
| 799 | return router.printRoutes(opts) |
| 800 | } |
| 801 | |
| 802 | function wrapRouting (router, { rewriteUrl, logger }) { |
| 803 | let isAsync |
nothing calls this directly
no test coverage detected