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