about summary refs log tree commit diff
path: root/README
blob: a45fabb4f128bcf070a5704b2dc95094f76837a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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