|
cwist
Modern C web framework with libttak runtime
|
Read-only walk of an app's route table for in-tree consumers (the runtime OpenAPI generator in openapi.c). More...
#include <cwist/sys/app/app.h>

Go to the source code of this file.
Typedefs | |
| typedef void(* | cwist_route_visit_fn) (void *ctx, cwist_http_method_t method, const char *path) |
Functions | |
| void | cwist_app_foreach_route (cwist_app *app, cwist_route_visit_fn visit, void *ctx) |
Read-only walk of an app's route table for in-tree consumers (the runtime OpenAPI generator in openapi.c).
Definition in file routes_internal.h.
Called once per HTTP route; WebSocket routes are skipped.
Definition at line 13 of file routes_internal.h.
| void cwist_app_foreach_route | ( | cwist_app * | app, |
| cwist_route_visit_fn | visit, | ||
| void * | ctx | ||
| ) |
Visit every HTTP route of app: exact routes first, then parameterized ones.