#ifndef HTTPHEADER_H #define HTTPHEADER_H #include #include enum HTTPStatus { HTTP_OK, HTTP_ERROR }; class HTTPSClient; class HTTPHeader { friend class HTTPSClient; public : HTTPHeader(); std::string getField(const std::string& name); int getBodyLength(); private : HTTPStatus _status; std::map _fields; }; #endif