Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
HTTPHeader.h
00001 #ifndef HTTPHEADER_H 00002 #define HTTPHEADER_H 00003 00004 #include <string> 00005 #include <map> 00006 00007 enum HTTPStatus { HTTP_OK, HTTP_ERROR }; 00008 00009 class HTTPSClient; 00010 00011 class HTTPHeader 00012 { 00013 friend class HTTPSClient; 00014 00015 public : 00016 00017 HTTPHeader(); 00018 00019 std::string getField(const std::string& name); 00020 int getBodyLength(); 00021 00022 private : 00023 00024 HTTPStatus _status; 00025 std::map<std::string, std::string> _fields; 00026 }; 00027 00028 00029 #endif
Generated on Tue Jul 12 2022 17:34:43 by
1.7.2