Build and run rrex2 / build (push) Failing after 39s
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.
12 lines
217 B
C
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;
|
|
}
|