Mercurial
comparison seobeo/seobeo.h @ 77:c348ac875294
[Seobeo] Server side rendering.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Wed, 31 Dec 2025 14:17:40 -0800 |
| parents | 4532ce6d9eb8 |
| children | e7bf9e002850 |
comparison
equal
deleted
inserted
replaced
| 76:35b1abc37969 | 77:c348ac875294 |
|---|---|
| 72 extern void Seobeo_Router_Destroy(); | 72 extern void Seobeo_Router_Destroy(); |
| 73 /* Find matching route handler (internal use) */ | 73 /* Find matching route handler (internal use) */ |
| 74 extern Seobeo_Route_Handler Seobeo_Router_Find_Handler(const char *method, const char *path, Seobeo_Request_Entry **pp_request_map, Dowa_Arena *p_arena); | 74 extern Seobeo_Route_Handler Seobeo_Router_Find_Handler(const char *method, const char *path, Seobeo_Request_Entry **pp_request_map, Dowa_Arena *p_arena); |
| 75 /* Send HTTP response from response map (internal use) */ | 75 /* Send HTTP response from response map (internal use) */ |
| 76 extern void Seobeo_Router_Send_Response(Seobeo_Handle *p_handle, Seobeo_Request_Entry *p_response_map, Dowa_Arena *p_arena); | 76 extern void Seobeo_Router_Send_Response(Seobeo_Handle *p_handle, Seobeo_Request_Entry *p_response_map, Dowa_Arena *p_arena); |
| 77 extern char *Seobeo_Web_LoadFile(const char *file_path, size_t *p_file_size) | |
| 77 | 78 |
| 78 // --- Helper functions --- // | 79 // --- Helper functions --- // |
| 79 /* Destroy handle. It will handle all NULL poointers. */ | 80 /* Destroy handle. It will handle all NULL poointers. */ |
| 80 extern void Seobeo_Handle_Destroy(Seobeo_Handle *p_handle); | 81 extern void Seobeo_Handle_Destroy(Seobeo_Handle *p_handle); |
| 81 /* Write to socket from write_buffer in the handle. */ | 82 /* Write to socket from write_buffer in the handle. */ |