mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-13 21:01:08 -04:00
prevent the insanity of specifying (usually) defaults
This commit is contained in:
Vendored
+1
-1
@@ -35,7 +35,7 @@ namespace webAPI
|
||||
|
||||
using namespace std;
|
||||
|
||||
statusMessage simplePost(const string &endpoint, const string &data, const string &slotName, const string &messageSlot, const string &statusSlot, const string &statusVal);
|
||||
statusMessage simplePost(const string &endpoint, const string &data, const string &slotName = "success", const string &messageSlot ="message", const string &statusSlot = "status", const string &statusVal = "success");
|
||||
nlohmann::json request(const string &endpoint, const string &data, const int &reqType); // 1 for post, 0 for get
|
||||
size_t writeCallback(void *contents, size_t size, size_t nmemb, void *userp);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user