Package: routr 2.0.0.9000

routr: A Simple Router for HTTP and WebSocket Requests
In order to make sure that web request ends up in the correct handler function a router is often used. 'routr' is a package implementing a simple but powerful routing functionality for R based servers. It is a fully functional 'fiery' plugin, but can also be used with other 'httpuv' based servers.
Authors:
routr_2.0.0.9000.tar.gz
routr_2.0.0.9000.zip(r-4.7)routr_2.0.0.9000.zip(r-4.6)routr_2.0.0.9000.zip(r-4.5)
routr_2.0.0.9000.tgz(r-4.6-any)routr_2.0.0.9000.tgz(r-4.5-any)
routr_2.0.0.9000.tar.gz(r-4.7-any)routr_2.0.0.9000.tar.gz(r-4.6-any)
routr_2.0.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
routr/json (API)
NEWS
| # Install 'routr' in R: |
| install.packages('routr', repos = c('https://thomasp85.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/thomasp85/routr/issues
Pkgdown/docs site:https://routr.data-imaginist.com
http-routermiddlewarerouterwebtechnology
Last updated from:5f12daee83. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 195 | ||
| linux-release-x86_64 | OK | 134 | ||
| macos-release-arm64 | OK | 85 | ||
| macos-oldrel-arm64 | OK | 102 | ||
| windows-devel | OK | 102 | ||
| windows-release | OK | 96 | ||
| windows-oldrel | OK | 87 | ||
| wasm-release | OK | 131 |
Exports:asset_routeAssetRouteopenapi_routeregister_report_formatreport_inforeport_routeresource_routeressource_routerouteRouteroute_addroute_getroute_mergeroute_removeroute_stackRouteStackshared_secret_routeshow_report_formatssizelimit_route
Dependencies:base64encbriobrotliclicurlfastmapfsgluejsonlitelaterlifecyclemagrittrmirainanonextotelpromisesR6Rcppreqresrlangsodiumstringitriebeardurltoolswaysignwebutilsxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| High performance route for serving static files | asset_route |
| Static file serving | AssetRoute |
| Create a route for serving OpenAPI documentation of your server | openapi_route |
| Create a route that renders and serves an Rmarkdown or Quarto report | report_route |
| Create a route for fetching files | resource_route |
| Construct a new route | route |
| Single route dispatch | Route |
| Route handlers | route_add route_get route_remove |
| Merge one route into another | route_merge |
| Combine routes in a stack | route_stack route_stack.AssetRoute route_stack.default route_stack.Route route_stack.RouteStack |
| Combine multiple routes for sequential routing | RouteStack |
| Reject requests not in possession of the correct shared secret | shared_secret_route |
| Limit the size of requests | sizelimit_route |
