Current section
Files
Jump to
Current section
Files
include/radiant_Router.hrl
-record(router, {
tree :: radiant@internal@tree:node_(fun((radiant:req()) -> gleam@http@response:response(bitstring()))),
fallback :: fun((radiant:req()) -> gleam@http@response:response(bitstring())),
middlewares :: list(fun((fun((radiant:req()) -> gleam@http@response:response(bitstring()))) -> fun((radiant:req()) -> gleam@http@response:response(bitstring()))))
}).