1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-08-06 08:10:25 +00:00
QB64-PE/internal/c/parts
Matthew Kilgore 45d52271da Add libqb_http API for HTTP connections
This adds the libqb_http API, which is designed to support HTTP and
HTTPS usage from QB64-PE source.

The design consists of a single thread which services all the HTTP(s)
connections. There are then various libqb_http APIs exposed that allow
interacting with this thread to create a new connection, query
connection status, read data, or close the connection.

Internally the thread makes use of the curl_multi interface to allow a
single thread to service multiple HTTP(s) connections in parallel. This
means you can _OPENCLIENT() multiple HTTP connection in a row and all of
them will be serviced at the same time in whatever order data is
available.

HTTP is optional and selected via a Makefile setting. A stub is swapped
in if HTTP support is not used, which avoids need to add another build
flag to libqb.cpp.
2022-11-19 15:13:26 -05:00
..
audio Move qbs_new_txt_len() declaration to libqb.h 2022-10-23 18:23:35 +05:30
core Remove old build system 2022-05-19 09:17:13 -04:00
gui Fix password handling in _InputBox$ on Windows 2022-11-14 20:23:41 -05:00
input/game_controller Fix compilation with DEP_DEVICEINPUT 2022-06-09 21:30:37 -04:00
network Add libqb_http API for HTTP connections 2022-11-19 15:13:26 -05:00
video Fix common dialogs build.mk bug 2022-10-23 22:44:39 +05:30
zlib Format other various source files 2022-05-06 13:20:30 -04:00