From 046d0457b9982fd4eb8cb7521e2a071b03fb3e02 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sun, 24 Nov 2024 19:57:30 +0300 Subject: Add using part to README --- README | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit 1.4.1