Welcome to the rest-lib wiki!
Getting started
Table of contents:
when(string $path, array $route) // or when(string $path, string $handler)
otherwise(array $route) // or otherwise(string $handler)
config(string $key, mixed $val=null)
handler(string $name, callable $fn)
module(string $name, callable $fn)
parser(string $type, callable $fn)
parse(string $type, mixed $data)
needs(string $file)
response(mixed $data, string $type = "json", integer $status = 200)
''
false
There was an error while loading. Please reload this page.