libexpress 0.0.1
Express Server Framework in C
|
Router. More...
#include <router.h>
Data Fields | |
char * | path |
hmap_t * | routes |
hmap_t * | child_routers |
Router.
It is the router for a particular path. It also contains the routers of children according to the path.
eg. If the router has a path /hello, then the new router with path /hello/world will be a child of the original with path /world.