From 1517f2874ab44fcf210c14e9fdd3f9c1bfd6ba76 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Mon, 6 Nov 2023 10:33:45 -0500 Subject: Update - Refactor curl support, add curl websockets - Remove aki_socket config structure - Add the ability to change aki_timer repeat - Various fixes Signed-off-by: Andrew Opalach --- include/aki/common.h | 1 + include/aki/http.h | 2 +- include/aki/websocket.h | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 include/aki/websocket.h (limited to 'include/aki') diff --git a/include/aki/common.h b/include/aki/common.h index 64a41c8..67ac037 100644 --- a/include/aki/common.h +++ b/include/aki/common.h @@ -2,6 +2,7 @@ #include "../../src/common.h" +#include "../../src/loop.h" #include "../../src/util/buffer.h" #include "../../src/util/packet.h" #include "../../src/util/timer/timer.h" diff --git a/include/aki/http.h b/include/aki/http.h index 1f75987..9a38452 100644 --- a/include/aki/http.h +++ b/include/aki/http.h @@ -1,5 +1,5 @@ #pragma once #ifdef AKIYO_HAS_CURL -#include "../../src/http.h" +#include "../../src/curl/http.h" #endif diff --git a/include/aki/websocket.h b/include/aki/websocket.h new file mode 100644 index 0000000..db1ed43 --- /dev/null +++ b/include/aki/websocket.h @@ -0,0 +1,5 @@ +#pragma once + +#ifdef AKIYO_HAS_CURL +#include "../../src/curl/websocket.h" +#endif -- cgit v1.2.3-101-g0448