wrapper of TLS library to connect to HTTPS servers

Dependents:   HTTPSClientExample

This library provides a simple interface to send GET requests over HTTPS. Notice that this library uses the axTLS library for the implementation of TLS.

Import programHTTPSClientExample

Connect to twitter.com and copies this webpage to a file.

Revision:
2:6d7bc51cc77b
Parent:
0:ab9011f6ede5
--- a/HTTPHeader.h	Thu Sep 05 10:33:20 2013 +0000
+++ b/HTTPHeader.h	Thu Sep 05 14:28:29 2013 +0000
@@ -8,20 +8,20 @@
 
 class HTTPHeader
 {
-    public :
+public :
+
+    friend class HTTPSClient;
+
+    HTTPHeader(HTTPStatus status = HTTP_INVALID);
 
-        friend class HTTPSClient;
-        
-        HTTPHeader(HTTPStatus status = HTTP_INVALID);
-        
-        static std::string getRequest(const std::string &path, const std::string &host, const int port);
-        
-        HTTPStatus getStatus() const;
-        int getBodyLength() const;
-    private :
-        
-        HTTPStatus _status;
-        int _bodyLength;
+    static std::string getRequest(const std::string &path, const std::string &host, const int port);
+
+    HTTPStatus getStatus() const;
+    int getBodyLength() const;
+private :
+
+    HTTPStatus _status;
+    int _bodyLength;
 };
 
 #endif