summaryrefslogtreecommitdiff
path: root/client.c
AgeCommit message (Collapse)Author
2022-02-02Response userData is not freed here for Emscriptenꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
When the user data is a pointer to the callback function, not a POST body, it must not be freed, otherwise the app will crash/not function. For now freeing it is handed to the user, which in this case, is qrtclient. It's freed when it's a POST body, e.g. when logging in, and no freeing code when GETting data from REST API.
2022-02-02Asynchronous connectionꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
Important updates: 1. Emscripten port. 2. HTTP request code copied from libicclient & slightly fixed. 3. Cookies, for maintaining authorisation between different async handles.
2022-01-15Rename rtclient/client.h to rtclient.hꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀
2019-09-24Initialisation takes CA certificates file pathꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-22Remove slash prefix, but append it if the url value is not yetꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-20Change ticket list length type to size_tꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
and might as well isolate recursive header inclusions
2019-09-20Make the request function a variadic oneꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-19Move request header file out from the distribution header directoryꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-16Tidy up a bitꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-15Rename rtclient.h to client.hꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
for consistency
2019-09-14Remove header inclusions which are already in request.hꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-14Follow a convenient way for inlining request functionꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
https://en.wikipedia.org/wiki/Inline_function#C99
2019-09-14Distribute codeꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀
2019-09-14Rename the main library fileꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀