Implement sending binary data

This commit is contained in:
kamkow1
2025-06-20 14:02:31 +02:00
parent d32dd721e1
commit 0fab7bcffe
3 changed files with 31 additions and 5 deletions

View File

@ -5,6 +5,10 @@
#include "mongoose/mongoose.h"
typedef struct {
enum {
ROUTE_RESULT_TEXT,
ROUTE_RESULT_BINARY,
} type;
int status_code;
NString_List headers;
String_Builder body;