1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
tv44led_example/tmk_core/tool/mbed/mbed-sdk/libraries/net/https/HTTPHeader.h
di0ib 87e7029039 Upload
Initial upload
2016-07-08 09:13:28 -10:00

30 lines
444 B
C++

#ifndef HTTPHEADER_H
#define HTTPHEADER_H
#include <string>
#include <map>
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<std::string, std::string> _fields;
};
#endif