mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-08 23:12:52 -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