|
KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
|
#include <router.h>

Data Fields | |
| KlRoute * | routes |
| int | count |
| int | capacity |
| KlMiddlewareEntry * | middleware |
| int | mw_count |
| int | mw_capacity |
| KlMiddlewareEntry * | post_middleware |
| int | post_mw_count |
| int | post_mw_capacity |
| KlAllocator * | alloc |
| KlRoute* KlRouter::routes |
Route table array
| int KlRouter::count |
Number of registered routes
| int KlRouter::capacity |
Route table capacity
| KlMiddlewareEntry* KlRouter::middleware |
Pre-body middleware array
| int KlRouter::mw_count |
Number of pre-body middleware entries
| int KlRouter::mw_capacity |
Pre-body middleware capacity
| KlMiddlewareEntry* KlRouter::post_middleware |
Post-body middleware array
| int KlRouter::post_mw_count |
Number of post-body middleware entries
| int KlRouter::post_mw_capacity |
Post-body middleware capacity
| KlAllocator* KlRouter::alloc |
Allocator for table growth