KEEL 1.0.0
Minimal C11 HTTP client/server library built on epoll/kqueue/io_uring/poll
Loading...
Searching...
No Matches
Data Fields
KlRouter Struct Reference

#include <router.h>

Collaboration diagram for KlRouter:
Collaboration graph
[legend]

Data Fields

KlRouteroutes
 
int count
 
int capacity
 
KlMiddlewareEntrymiddleware
 
int mw_count
 
int mw_capacity
 
KlMiddlewareEntrypost_middleware
 
int post_mw_count
 
int post_mw_capacity
 
KlAllocatoralloc
 

Field Documentation

◆ routes

KlRoute* KlRouter::routes

Route table array

◆ count

int KlRouter::count

Number of registered routes

◆ capacity

int KlRouter::capacity

Route table capacity

◆ middleware

KlMiddlewareEntry* KlRouter::middleware

Pre-body middleware array

◆ mw_count

int KlRouter::mw_count

Number of pre-body middleware entries

◆ mw_capacity

int KlRouter::mw_capacity

Pre-body middleware capacity

◆ post_middleware

KlMiddlewareEntry* KlRouter::post_middleware

Post-body middleware array

◆ post_mw_count

int KlRouter::post_mw_count

Number of post-body middleware entries

◆ post_mw_capacity

int KlRouter::post_mw_capacity

Post-body middleware capacity

◆ alloc

KlAllocator* KlRouter::alloc

Allocator for table growth


The documentation for this struct was generated from the following file: