From 2d4f062917c8e025b79681227e077dc70f702576 Mon Sep 17 00:00:00 2001 From: Francesco Cozzuto Date: Thu, 8 May 2025 00:03:12 +0200 Subject: [PATCH] Rename http.c/h to tinyhttp.c/h --- README.md | 6 +++--- http.c => tinyhttp.c | 0 http.h => tinyhttp.h | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename http.c => tinyhttp.c (100%) rename http.h => tinyhttp.h (100%) diff --git a/README.md b/README.md index c646e08..5b2a8f7 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ This interface allows TinyHTTP to decouple the HTTP logic from the I/O. This has On top of the engine, TinyHTTP implements a fully functional and easy to use client and server. Both use `poll()` to handle non-blocking operations. The server API looks like this: ```c -#include "http.h" +#include "tinyhttp.h" int main(void) { @@ -140,7 +140,7 @@ while the client interface looks like this (note that I omitted error checking f ```c #include -#include "http.h" +#include "tinyhttp.h" int main(void) { @@ -182,7 +182,7 @@ The client supports HTTPS by using OpenSSL, but the implementation is incomplete The last layer is the router, which sits on top of the HTTP server. This simplifies the work of serving files from disk or setting up routes with dynamic content in an easy and safe way. Here's an example: ```c -#include "http.h" +#include "tinyhttp.h" void callback(HTTP_Request *req, HTTP_ResponseHandle res, void *ctx) { diff --git a/http.c b/tinyhttp.c similarity index 100% rename from http.c rename to tinyhttp.c diff --git a/http.h b/tinyhttp.h similarity index 100% rename from http.h rename to tinyhttp.h