Beakr object defines the server instance utilizing the
httpuv package. This class defines an interface for the rest of the
beakr package and is therefore meant to be instantiated.
A method to define the functions or middleware of users application.
Creates a new
Router object for the
start(host, port, daemon)
Returns a running server. If
daemon = TRUE, the server will run
in the background.
Returns a console output of the instance and its number of middleware attached.
The beakr package provides a minimal web framework for for developing
lightweight APIs in R. The package includes basic functionality for handling
HTTP requests. beakr is a ground-up rewrite and
continuation of the jug package developed by Bart Smeets. The
beakr package is supported and maintained by
Beakr$start(host, port, daemon)
The objects of this class are cloneable with this method.
Beakr$clone(deep = FALSE)
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.