A Simple Router for HTTP and WebSocket Requests
High performance route for serving static files
Static file serving
Create a route for serving OpenAPI documentation of your server
Register a new report format
Get the mime types of the possible outputs for a report
Create a route that renders and serves an Rmarkdown or Quarto report
Create a route for fetching files
Deprecated functions
Route handlers
Merge one route into another
Combine routes in a stack
Single route dispatch
Construct a new route
Combine multiple routes for sequential routing
routr: A Simple Router for HTTP and WebSocket Requests
Reject requests not in possession of the correct shared secret
Limit the size of 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.
Useful links