Current section
Files
Jump to
Current section
Files
include/tinyroute@router_Router.hrl
-record(router, {
routes :: gleam@dict:dict(tinyroute@route:route(), fun((gleam@http@request:request(bitstring())) -> gleam@http@response:response(gleam@bytes_tree:bytes_tree()))),
not_found_handler :: fun((gleam@http@request:request(bitstring())) -> gleam@http@response:response(gleam@bytes_tree:bytes_tree())),
log :: boolean()
}).