This commit is contained in:
cdricms
2024-11-07 12:02:29 +01:00
parent 658fe48bb8
commit 0970740e31
14 changed files with 732 additions and 72 deletions

View File

@@ -15,4 +15,9 @@ typedef struct {
bool construct_response(HttpResponse __res, char *out);
void http_respond(HttpResponse __res, int clientfd);
char *read_file(const char *__path);
HttpResponse *from_file(const char *__path);
void free_response(HttpResponse *__res);
#endif