fix plugin http types & docs (#5494)

This commit is contained in:
2547techno
2024-07-05 20:02:21 -04:00
committed by GitHub
parent 0442b7a81b
commit 93fbcbbe5f
5 changed files with 25 additions and 45 deletions
@@ -9,13 +9,6 @@
namespace chatterino::lua::api {
// NOLINTBEGIN(readability-identifier-naming)
/**
* @lua@class HTTPResponse
* @lua@field data string Data received from the server
* @lua@field status integer? HTTP Status code returned by the server
* @lua@field error string A somewhat human readable description of an error if such happened
*/
/**
* @lua@alias HTTPCallback fun(result: HTTPResponse): nil
*/