Files
rlib/.backup.1.rhttpc.c
retoor 2ffc9b82ed
Build and run rrex2 / build (push) Failing after 39s
feat: add backup files for rlib core modules including arena, nsock, and autocomplete
Introduces initial backup snapshots of core rlib components: arena allocator with construct/new/alloc/free/reset API, nsock network socket wrapper with select-based event loop, autocomplete string list implementation, argument parser utilities, and main dispatcher for httpd/rmerge/rcov/rcase tools. Includes MIT license header and rlib.h umbrella include with 30+ submodule headers.
2025-03-20 03:16:06 +00:00

12 lines
217 B
C

#include "rhttp.h"
#include <stdio.h>
int main() {
while (1) {
char *response = rhttp_client_get("127.0.0.1", 8888, "/");
if (response)
printf("%s\n", response);
}
return 0;
}