• RouterUse registers one or more global middlewares that are executed along the handler middlewares after a matching route is found.

    Example:

    routerUse((next) => {
    return (c) => {
    console.log(c.path())
    return next(c)
    }
    })

    Note that this method is available only in pb_hooks context.

    Parameters

    Returns void

Generated using TypeDoc