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 |
get.Jug |
Function to add GET-binding middleware |
include |
Include elsewhere constructed middleware with primary jug instance |
jug |
New jug instance |
match_path |
Helper function to extract regex named capture groups from string |
Middleware |
Middleware class |
MiddlewareHandler |
MiddlewareHandler R6 class definition |
new_error |
Create response instance |
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 |
Request |
Request class |
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 in HTML format |
simple_error_handler_json |
An error handler middleware which returns a error description in JSON format |
stop_daemon |
Stop daemonized server |
use |
Function to add request method insensitive middleware |
ws |
Function to add websocket handling middleware |