Manager for registering HTTP route handlers from decorators with the browser router

Methods

  • Register all HTTP routes during the load lifecycle This is called automatically by the KOS model lifecycle

    Returns void

  • Set the browser router instance

    Parameters

    • router: IBrowserRouter

    Returns void

  • Check if the model has HTTP route handlers

    Returns boolean

  • Dispose of the route manager and cleanup all registered routes

    Returns void

  • Get all routes registered by this manager (for debugging)

    Returns {
        method: string;
        path: string;
    }[]