Commit graph

23 commits

Author SHA1 Message Date
HJfod
463cebf0c4 finish new web requests api 2024-02-26 18:26:34 +02:00
mat
2c1eb674c9
add missing GEODE_DLL to web::fetchJSON 2024-02-12 00:04:56 -03:00
altalk23
620c1bb04d forgot to remove AsyncResponseHeader 2024-01-24 19:33:18 +03:00
altalk23
df07409532 implement the last modified since & responseHeaders in async web 2024-01-24 19:31:51 +03:00
matcool
8ccc61febb new util methods, rename postFields and customRequest 2024-01-09 20:10:58 -03:00
mat
13ac3359f7 add AsyncWebRequest::timeout 2024-01-03 23:12:23 -03:00
mat
1ee1352d70 make AsyncWebRequest pimpl 2024-01-03 22:17:27 -03:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
camila314
b17ca9ae4b docs change lmao 2023-10-22 11:01:14 -05:00
altalk23
92ca99b82c fix broken web request stuff 2023-09-08 18:05:20 +03:00
altalk23
83e48fa8dc Fix AsyncWebRequest backwards compat 2023-09-08 18:02:59 +03:00
altalk23
c256207457 Add post & custom requests and user agents to AsyncWebRequest 2023-09-08 17:17:45 +03:00
alk
5924901d2d
Make SentAsyncWebRequest dllexported 2023-04-05 21:01:32 +03:00
altalk23
04dd151f0e minifunction replacing compiles 2023-02-08 18:25:07 +03:00
altalk23
4f259c6e3a forward filesystem 2023-02-08 16:42:34 +03:00
matcool
deab672bc2 json rewrite, use custom lib instead of nlohmann::json
This is in attempt to make compile times better, as the old json library
was quite slow to compile due to many template instantiations and such a
large header.

macOS tests have shown build times from 610s to ~390s, about a 1.5x
speedup

Co-authored-by: camila314 <47485054+camila314@users.noreply.github.com>
2023-01-27 21:14:26 -03:00
HJfod
a418828394 fix resources not being downloaded by fallbacking to github api
- also add an overload to AsyncWebRequest::expect that gives you the http status code
2023-01-24 18:17:03 +02:00
altalk23
a1c7139e53 I only changed the headers and not the sources to improve compile times a bit 2023-01-15 00:45:58 +03:00
altalk23
5666c8f356 separate mod and impl 2022-12-14 14:11:19 +03:00
matcool
2c3520f454 Add CPM.cmake, use it for external libraries
this removes submodules and external libraries in the code in favor of
importing them as CPM packages. CPM_SOURCE_CACHE is recommended as
codegen has to readd two of the same dependencies
2022-12-12 18:20:24 -03:00
altalk23
a47937c379 remove spinlocks & make sent async response pimpl 2022-12-12 15:40:05 +03:00
altalk23
20a2dc9f07 fix events and cleanup 2022-12-04 19:39:40 +03:00
HJfod
516393ae99 merge utils to be in fewer better-named files 2022-11-28 19:09:39 +02:00
Renamed from loader/include/Geode/utils/fetch.hpp (Browse further)