[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/gpepe/esp32_https_server/master/docs/HTTPHeader_8hpp_source.html [Back]  [Original]

ESP32 HTTPS Server: /home/frank/Projekte/esp32/https_server/esp32_https_server/src/HTTPHeader.hpp Source File
ESP32 HTTPS Server
HTTPHeader.hpp
1 #ifndef SRC_HTTPHEADER_HPP_
2 #define SRC_HTTPHEADER_HPP_
3 #include <Arduino.h>
4 
5 #include <string>
6 
7 namespace httpsserver {
8 
12 class HTTPHeader {
13 public:
14  HTTPHeader(const std::string &name, const std::string &value);
15  virtual ~HTTPHeader();
16  const std::string _name;
17  const std::string _value;
18  std::string print();
19 };
20 
28 std::string normalizeHeaderName(std::string const &name);
29 
30 } /* namespace httpsserver */
31 
32 #endif /* SRC_HTTPHEADER_HPP_ */
Represents a single name/value pair of an HTTP header.
Definition: HTTPHeader.hpp:12
std::string normalizeHeaderName(std::string const &name)
Normalizes case in header names.
Definition: HTTPHeader.cpp:23
Definition: ConnectionContext.cpp:3

Web Proxy Viewer  |  New URL  |  Original Page