about summary refs log tree commit diff
path: root/README
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2024-11-24 19:57:30 +0300
committerNakidai <nakidai@disroot.org>2024-11-24 19:57:30 +0300
commit046d0457b9982fd4eb8cb7521e2a071b03fb3e02 (patch)
tree7eeac6d6cc5206a77355319c60ca44b2fc05bdf2 /README
parent1e4d1e050267c1cd4cf7104fd00f20b9c4962bbb (diff)
downloadlibhttpc-046d0457b9982fd4eb8cb7521e2a071b03fb3e02.tar.gz
libhttpc-046d0457b9982fd4eb8cb7521e2a071b03fb3e02.zip
Add using part to README
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 12 insertions, 0 deletions
diff --git a/README b/README
index bdf997e..a45fabb 100644
--- a/README
+++ b/README
@@ -7,3 +7,15 @@ 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