add Http::verify_ssl(bool verify) method
This commit is contained in:
@@ -151,6 +151,12 @@ public:
|
||||
*/
|
||||
void allow_redirects(bool allow_redirects);
|
||||
|
||||
/*
|
||||
* verify the peer's SSL certificate
|
||||
* default is true
|
||||
*/
|
||||
void verify_ssl(bool verify);
|
||||
|
||||
bool get(const wchar_t * url, std::wstring & out, bool clear_str = true);
|
||||
bool get(const std::wstring & url, std::wstring & out, bool clear_str = true);
|
||||
bool get(const pt::WTextStream & url, std::wstring & out, bool clear_str = true);
|
||||
@@ -189,6 +195,7 @@ private:
|
||||
long debug_mode;
|
||||
pt::Space * debug_info;
|
||||
bool follow_location;
|
||||
bool verify_ssl_cert;
|
||||
|
||||
std::wstring temp_header;
|
||||
std::string temp_header_ascii;
|
||||
|
||||
Reference in New Issue
Block a user