add request handler for http request and response generation

This commit is contained in:
Nayan
2025-05-06 16:04:39 -04:00
parent bf8bc98d75
commit d5a8e17f60
4 changed files with 102 additions and 53 deletions

11
request_handler.h Normal file
View File

@@ -0,0 +1,11 @@
#ifndef HTTP_RESPONSE_BUILDER_H
#define HTTP_RESPONSE_BUILDER_H
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
void handle_request(char* request, int length, char* response,
size_t* response_length);
#endif