Debian Codegraph @

tests/testthat/fixtures/output/webfakes_app.txt

raw
1 > app
2 <webfakes_app>
3 routes:
4 use * # add etag
5 get /api
6 fields and methods:
7 all(path, ...) # add route for *all* HTTP methods
8 delete(path, ...) # add route for DELETE
9 engine(ext, engine) # add template engine for file extension
10 head(path, ...) # add route for HEAD
11 listen(port) # start web app on port
12 patch(path, ...) # add route for PATCH
13 post(path, ...) # add route for POST
14 put(path, ...) # add route for PUT
15 use(...) # add middleware
16 locals # app-wide shared data
17 # see ?webfakes_app for all methods
18