|
jf-framework
|
Go to the source code of this file.
Classes | |
| struct | Route |
Macros | |
| #define | JF_FRAMEWOR_ROUTER_H |
| #define | MAX_ROUTES 128 |
Typedefs | |
| typedef void(* | route_handler_t) (const HttpRequest *request, HttpResponse *response) |
Functions | |
| uint32_t | jf_RouterAdd (const char *method, const char *path, const char *router, route_handler_t handler) |
| void | jf_CreateRouter (void) |
| void jf_CreateRouter | ( | void | ) |
| uint32_t jf_RouterAdd | ( | const char * | method, |
| const char * | path, | ||
| const char * | router, | ||
| route_handler_t | handler ) |