| add_listener | Internal function to add listeners |
| add_middleware | Internal function to add middleware |
| auth_basic | Basic authentication middleware |
| collector | Collector function for middlewares |
| cors | Add cors functionality |
| decorate | Convenience function to decorate existing functions |
| delete | Function to add DELETE-binding middleware |
| Error | Response class |
| get | Function to add GET-binding middleware |
| include | Include elsewhere constructed middleware with primary jug... |
| Jug | New jug instance |
| Listener | Middleware class |
| logger | Basic logger |
| match_path | Helper function to extract regex named capture groups from... |
| Middleware | Middleware class |
| new_error | Create response instance |
| on | Function to add an event listener |
| parse_params | Parse the params passed by the request |
| post | Function to add POST-binding middleware |
| process_test_request | Initialize process of test request |
| put | Function to add PUT-binding middleware |
| RawTestRequest | Generate request for testing purposes |
| reexports | Objects exported from other packages |
| Request | Request class |
| RequestHandler | RequestHandler R6 class definition |
| Response | Response class |
| serve_it | Start serving the jug instance |
| serve_static_files | Middleware to serve static files |
| simple_error_handler | An error handler middleware which returns a error description... |
| simple_error_handler_json | An error handler middleware which returns a error description... |
| stop_daemon | Stop daemonized server |
| use | Function to add request method insensitive middleware |
| ws | Function to add websocket handling middleware |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.