Package: routr 0.4.1.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_0.4.1.9000.tar.gz
routr_0.4.1.9000.zip(r-4.5)routr_0.4.1.9000.zip(r-4.4)routr_0.4.1.9000.zip(r-4.3)
routr_0.4.1.9000.tgz(r-4.5-any)routr_0.4.1.9000.tgz(r-4.4-any)routr_0.4.1.9000.tgz(r-4.3-any)
routr_0.4.1.9000.tar.gz(r-4.5-noble)routr_0.4.1.9000.tar.gz(r-4.4-noble)
routr_0.4.1.9000.tgz(r-4.4-emscripten)routr_0.4.1.9000.tgz(r-4.3-emscripten)
routr.pdf |routr.html✨
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 site:https://routr.data-imaginist.com
http-routermiddlewarerouterwebtechnology
Last updated 3 days agofrom:e91bcd5b34. Checks:6 OK, 3 NOTE. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 10 2025 |
R-4.5-win | NOTE | Mar 10 2025 |
R-4.5-mac | NOTE | Mar 10 2025 |
R-4.5-linux | NOTE | Mar 10 2025 |
R-4.4-win | OK | Mar 10 2025 |
R-4.4-mac | OK | Mar 10 2025 |
R-4.4-linux | OK | Mar 10 2025 |
R-4.3-win | OK | Mar 10 2025 |
R-4.3-mac | OK | Mar 10 2025 |
Exports:asset_routeAssetRouteopenapi_routeressource_routerouteRouteroute_addroute_getroute_mergeroute_removeroute_stackRouteStackshared_secret_routesizelimit_route
Dependencies:base64encbrotliclicurlfsgluejsonlitelifecycleR6Rcppreqresrlangsodiumstringitriebeardurltoolsuuidwebutilsxml2
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 for fetching files | ressource_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 |