/*
* HTTPHeaders.hpp
*
* Created on: Dec 13, 2017
* Author: frank
*/
#ifndef HTTPS_HTTPHEADERS_HPP_
#define HTTPS_HTTPHEADERS_HPP_
#include
// Arduino declares it's own min max, incompatible with the stl...
#undef min
#undef max
#include
#include "HTTPSServerConstants.hpp"
#include "HTTPHeader.hpp"
namespace httpsserver {
class HTTPHeaders {
public:
HTTPHeaders();
virtual ~HTTPHeaders();
HTTPHeader * get(std::string name);
void set(HTTPHeader * header);
std::vector * getAll();
void clearAll();
private:
std::vector * _headers;
};
} /* namespace httpsserver */
#endif /* HTTPS_HTTPHEADERS_HPP_ */