add file comments

This commit is contained in:
Nayan
2025-05-08 22:34:36 -04:00
parent 51fe7e1c8d
commit f060c35f7d
12 changed files with 105 additions and 1 deletions

View File

@@ -1,6 +1,17 @@
#ifndef REQUEST_HANDLER_H
#define REQUEST_HANDLER_H
/**
* request_handler.h
*
* This file contains functions for handling an HTTP request and constructing
* an appropriate response.
*
* Included functionality is parsing the request into an http_request struct,
* and using a switch statement to call the appropriate response handler based
* on the request type.
*/
#include <stdio.h>
#include <string.h>
#include <sys/types.h>