Documentation tweaks for CRAN.

  • Fixed default rawTypesPattern in serveStaticFiles() to remove “text”. That should never have gotten in there.
  • URL fix for CRAN submission.
  • Improved examples in function documentation.
  • Added native CORS functionality.
  • Added a FUN parameter to handleErrors() so users can define their own function to deal with error responses.
  • Removed httpuv_~() function wrappers in favor of importing the functions directly from httpuv.
  • serveStaticFiles() now works.

Lots of refactoring with an eye toward: * core functionality only for an initial release * consistent, predictable naming * more documentation and examples

  • Renamed App object back to Beakr for internal consistency.
  • Renamed beakr() to newBeakr() to avoid confusion.
  • Renamed http_get(), et al to to httpGET() et al.
  • Renamed kill() to `startServer().
  • Added httpuv_kstopAllServers().
  • Removed .addListener() and added functionality inside of on() function.
  • Removed the following functions as superflous for an initial release: cors(), on(), include(), kill_all(), list_active(), logger(), use(), websocket()
  • Improved documentation and examples throughout.
  • Prepare for CRAN x3
  • renamed http-methods to http_get(), http_post(), http_put(), http_delete().
  • renamed error-methods to new_error(), error_handler()
  • renamed other utils and internal methods
  • Fixed static() function to serve static files.
  • Prepared for CRAN x2
  • Updated README to avoid CRAN notes
  • Updated http-methods functions to avoid CRAN suggestions
  • Updated createBeakr() -> beakr()
  • Renamed Beakr class object to App to align with other popular webframeworks (Express.js, Flask)
  • Renamed handleErrors() to handler()
  • Renamed onEvent() to on()
  • Prepare for CRAN
  • Update the docs and export objects
  • Fix deprecated local_examples/
  • Minor documentation tweaks.
  • Added onEvent() event listening
  • Fixed beakr instance information view
  • Added beakr instance names
  • Added support for more internal functionality
  • Added logging capability logger().
  • Renamed http methods to upper case: get() ==> GET(), etc..
  • Renamed killall() to killAll().
  • Restored documentation @examples.
  • Renamed listen() to startBeakr().
  • Internal refactoring and cleanup.
  • Changed request, response, and error object names to req, res, err, as more consistent with popular frameworks
  • Added fancy beakr prints
  • CORS functionality
  • Daemonized instances
  • Proper JSON erorr handling
  • Added other features, kill()/killall(), active()
  • Massive bug fixes
  • Initial Release