A `Beakr` object defines a web server instance using the [`httpuv`] package. It provides the main entry point for creating and starting a Beakr application, wrapping a [`Router`] and exposing lifecycle methods.
An [`R6::R6Class`] generator for `Beakr` objects.
[Router], [Middleware], [httpuv::startServer], [httpuv::runServer]
nameApplication name. If `NULL`, a random name is set in `$initialize()`.
routerThe `Router` instance used to handle requests.
serverThe underlying `httpuv` server object (once started).
appDefinition()Build the application definition passed to **httpuv** (request & WS handlers).
new()Initialize the app: create a `Router` and assign a random `name` if missing.
Beakr$new()start()Start the HTTP server via **httpuv**.
print()Print a one-line summary (name, state, host, port, #middlewares).