mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-22 19:35:13 +00:00
ffdf9db390
Modifies libqb.cpp to add support for opening HTTP connections via _OPENCLIENT(). This makes use of the libqb_http API in ./libqb, which is backed by libcurl. This also includes a bit of refactoring for some of the code that required additions. I replaced a few of the integer values with enums, and added a new entry for Http and then implemented it in all the necessary locations. In addition to `_OPENCLIENT()`, there is also support for using HTTP connections with `EOF()`, `LOF()`, `GET #` (variable and fixed length), and `CLOSE`. I additionally fixed an issue of parsing the colon parts of the `_OPENCLIENT()` parameter, where having too many colons would cause the program to crash. Since we only allow so many parts to begin with it I simply limited the max number of parts it will split to 10. Fixes: #98 Fixes: #46 |
||
---|---|---|
.. | ||
libqb | ||
parts | ||
.gitignore | ||
common.h | ||
libqb.cpp | ||
libqb.h | ||
libqb.mm | ||
msbin.c | ||
mtri1.cpp | ||
mtri1s.cpp | ||
mtri1t.cpp | ||
mtri1ts.cpp | ||
mtri2.cpp | ||
mtri2s.cpp | ||
mtri2t.cpp | ||
mtri2ts.cpp | ||
mtri3.cpp | ||
mtri3s.cpp | ||
mtri3t.cpp | ||
mtri3ts.cpp | ||
mtri4.cpp | ||
mtri4s.cpp | ||
mtri4t.cpp | ||
mtri4ts.cpp | ||
myip.cpp | ||
os.h | ||
purge_all_precompiled_content.bat | ||
purge_all_precompiled_content.command | ||
purge_all_precompiled_content.sh | ||
qbx.cpp | ||
time64.c | ||
time64.h |