Skip to contents

Server part of the router.

Usage

router_server(root_page = "/", env = parent.frame())

Arguments

root_page

Main page path.

env

Environment (only for advanced usage).

Value

Router pages server callback.

Examples

if (FALSE) {
  server <- function(input, output, session) {
    router_server(root_page = "/")
  }
}