Packages

A simple and easy to use API created on top of the Mist web server

Current section

Files

Jump to
howdy include howdy@server_Route.hrl
Raw

include/howdy@server_Route.hrl

-record(route, {
method :: gleam@http:method(),
url :: binary(),
function :: fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder())),
filters :: list(fun((fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))) -> fun((howdy@context:context()) -> gleam@http@response:response(gleam@bit_builder:bit_builder()))))
}).