diff options
| author | spl3g <spleefer6@yandex.ru> | 2025-03-22 21:41:16 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-03-22 21:41:16 +0300 |
| commit | 62454373db4cd2add82ded0cf7b21f7d69ade597 (patch) | |
| tree | 1627133fe4567e9a3abb707af5e7289353410d5f /README.org | |
| parent | ef5f52fb739c9f0d71c579f08363ef0dfd5c227d (diff) | |
Reorganize the lib
Diffstat (limited to 'README.org')
| -rw-r--r-- | README.org | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,7 +1,12 @@ * chttp This is not really a library, but a little project for my education. But if you really want to use it, you can. ** Installation -Just copy the lib directory and use the header files. +#+begin_src shell + make static + # or + make shared +#+end_src +Copy the directory in the =include/= folder to your project. ** Usage *** Initializing the server #+begin_src c @@ -43,8 +48,8 @@ And to wrap things up, we need to run #+end_src *** Full example #+begin_src c - #include "lib/http.h" - #include "lib/const_strings.h" + #include <chttp/http.h> + #include <chttp/const_strings.h> void logging_func(http_middleware *self, http_request req) { http_run_next(self, req); |
