diff seobeo/seobeo_internal.h @ 175:71ad34a8bc9a hg-web

[HgWeb] Can stream hg response now. Added react page for hg web since we use json anyway.
author MrJuneJune <me@mrjunejune.com>
date Tue, 20 Jan 2026 06:06:47 -0800
parents 7a63e41a21fb
children 8cf4ec5e2191
line wrap: on
line diff
--- a/seobeo/seobeo_internal.h	Mon Jan 19 18:59:23 2026 -0800
+++ b/seobeo/seobeo_internal.h	Tue Jan 20 06:06:47 2026 -0800
@@ -83,6 +83,13 @@
     Dowa_Arena *p_arena
 );
 
+// Streaming handler - gets direct access to client handle for streaming responses
+typedef void (*Seobeo_Stream_Handler)(
+    Seobeo_Handle *p_client_handle,
+    Seobeo_Request_Entry *p_request_map,
+    Dowa_Arena *p_arena
+);
+
 // --- Parse Header into Dowa Map ---//
 extern int            Seobeo_Web_Header_Parse(Seobeo_Handle *p_handle, Seobeo_Request_Entry **pp_map, Dowa_Arena *p_arena);