mirror of
https://github.com/SWG-Source/src.git
synced 2026-07-13 21:01:08 -04:00
pin to our cert (requires aliasing login.stella to it's real ip on the
gameserver)
This commit is contained in:
Vendored
+4
@@ -25,6 +25,7 @@
|
||||
#else
|
||||
|
||||
#include <unordered_map>
|
||||
#include <openssl/ssl.h>
|
||||
#include <curl/curl.h>
|
||||
|
||||
#endif
|
||||
@@ -47,6 +48,9 @@ namespace StellaBellum {
|
||||
|
||||
~webAPI();
|
||||
|
||||
// pin our key
|
||||
CURLcode* sslctx_function(CURL *curl, void *sslctx, void *parm);
|
||||
|
||||
// submits the request
|
||||
bool
|
||||
submit(const int &reqType = DTYPE::JSON, const int &getPost = HTTP::POST, const int &respType = DTYPE::JSON);
|
||||
|
||||
Reference in New Issue
Block a user