Retoor software development Projects Research SearchXNG
Register Sign In

12 lines
217 B
C
Raw Normal View History

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 04:16:06 +01:00
#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;
}
Reference in New Issue Copy Permalink
2ffc9b82ed
rlib/.backup.1.rhttpc.c
Response time: 37ms
Mail Licenses API