Kurlyk
Loading...
Searching...
No Matches
kurlyk.hpp
Go to the documentation of this file.
1#pragma once
2#ifndef _KURLYK_HPP_INCLUDED
3#define _KURLYK_HPP_INCLUDED
4
7
11#ifndef KURLYK_AUTO_INIT
12# define KURLYK_AUTO_INIT 1
13#endif
14
19#ifndef KURLYK_AUTO_INIT_USE_ASYNC
20# define KURLYK_AUTO_INIT_USE_ASYNC 1
21#endif
22
26#ifndef KURLYK_HTTP_SUPPORT
27# define KURLYK_HTTP_SUPPORT 1
28#endif
29
33#ifndef KURLYK_WEBSOCKET_SUPPORT
34# define KURLYK_WEBSOCKET_SUPPORT 1
35#endif
36
39#ifndef KURLYK_ENABLE_JSON
40# define KURLYK_ENABLE_JSON 0
41#endif
42
43#ifdef __EMSCRIPTEN__
44# define KURLYK_USE_EMSCRIPTEN
45#else
46# define KURLYK_USE_CURL
47# define KURLYK_USE_SIMPLEWEB
48#endif
49
50#include "kurlyk/core.hpp"
51
52#if KURLYK_HTTP_SUPPORT
53#include "kurlyk/http.hpp"
54#endif
55
56#if KURLYK_WEBSOCKET_SUPPORT
57#include "kurlyk/websocket.hpp"
58#endif
59
60#include "kurlyk/startup.hpp"
61
64namespace kurlyk {
65
66} // namespace kurlyk
67
68#endif // _KURLYK_HPP_INCLUDED
Aggregates core infrastructure components such as task manager interface and the network worker.
Aggregates main HTTP interfaces and utilities, including client, request manager, and helpers.
Primary namespace for the Kurlyk library, encompassing initialization, request management,...
Provides centralized startup and shutdown routines for the Kurlyk library.
Aggregates main WebSocket interfaces and utilities.