Add http_get, http_post, and the first client example

This commit is contained in:
2025-07-20 19:56:52 +02:00
parent 22e9dee5dc
commit f7892beb90
4 changed files with 150 additions and 0 deletions
+3
View File
@@ -47,6 +47,9 @@ HTTP_String http_trim(HTTP_String s);
// Returns the number of items of a static array.
#define HTTP_COUNT(X) (sizeof(X) / sizeof((X)[0]))
// TODO: comment
#define HTTP_UNPACK(X) (X).len, (X).ptr
// Macro used to make invariants of the code more explicit.
//
// Say you have some function that operates on two integers