Skip to content

nakidai/libhttpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libhttpc
<======>
HTTP Library (Cute :3)

This library provides some QoL functions for parsing requests and constructing
responses.

Notice that libhttpc doesn't do any validation, validate data yourself or use
reverse proxy for this task.

Using
<===>
All the documentation is stored in the single header file. You can try to use
doxygen or smth kinda to generate docs from it ig.

This is the way how in my opinion this library should be used:
1. Receive request from the user
2. Pass this request to the LibHTTPC_loadRequest function
3. Handle the request
4. Generate response using LibHTTPC_dumpResponse function
5. Send generated response