Added support for SSL and HTTPS requests using OpenSSL.

This commit is contained in:
Martín Lucas Golini
2014-06-01 17:01:10 -03:00
parent b25bf76330
commit 513ba89d96
22 changed files with 1025 additions and 38 deletions

View File

@@ -16,7 +16,7 @@ EE_MAIN_FUNC int main (int argc, char * argv []) {
cHttp http;
// We'll work on http://en.wikipedia.org
http.SetHost("http://en.wikipedia.org");
http.SetHost("https://en.wikipedia.org");
// Prepare a request to get the wikipedia main page
cHttp::Request request("/wiki/Main_Page");