ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPHeaders.hpp Source File

1 #ifndef SRC_HTTPHEADERS_HPP_

2 #define SRC_HTTPHEADERS_HPP_

3 

4 #include <string>

5 // Arduino declares it's own min max, incompatible with the stl...

6 #undef min

7 #undef max

8 #include <vector>

9 

10 #include "HTTPSServerConstants.hpp"

11 #include "HTTPHeader.hpp"

12 

14 

19 public:

22 

23  HTTPHeader * get(std::string const &name);

24  std::string getValue(std::string const &name);

26 

27  std::vector<HTTPHeader *> * getAll();

28 

30 

31 private:

32  std::vector<HTTPHeader*> * _headers;

33 };

34 

35 } /* namespace httpsserver */

36 

37 #endif /* SRC_HTTPHEADERS_HPP_ */

Groups and manages a set of HTTPHeader instances.

Definition: HTTPHeaders.hpp:18

Represents a single name/value pair of an HTTP header.

Definition: HTTPHeader.hpp:12

void clearAll()

Definition: HTTPHeaders.cpp:54

Definition: ConnectionContext.cpp:3