Releases: Sidorakh/http.gml
Releases · Sidorakh/http.gml
Release v2.2.0
A large update, inspired in part thanks to the Cookbook Jam
Changes:
- Slight restructuring of the library, however code for version 2.1.0 is mostly compatible with this new version
error
callback now only takes 2 arguments instead of 3,status
andoptions
- Hooks for HTTP Parsers have been added, a JSON parser is included and enabled by default
- More information here: https://docs.sidorakh.net/http.gml/#/2.2.x/http-body-parser
- The
options
struct has new options- More information here: https://docs.sidorakh.net/http.gml/#/2.2.x/http?id=structhttpoptions
- Limited JSDoc is applied to each function in the library (I can't be sure it's all accurate, if there are any problems with this, please open an issue)
- Feather comments are placed throughout the code so no new warnings should pop up, outside of naming rules
Release v2
Post-rewrite, includes the http_request
buffer trick (passing an empty buffer into http_request
to receive binary data), accessible under the result
parameter or options.buffer
in each callback.
First package release
The package is mostly functional, though, changes may still be made that could break existing projects that use this package. Import the yymps file like you would any local package in GameMaker Studio 2.3, either by dragging the downloaded file onto the IDE, or selecting the downloaded file under "Import Local Package" under the Tools menu.