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_ */
httpsserver::HTTPHeader
Represents a single name/value pair of an HTTP header.
Definition:
HTTPHeader.hpp:12
httpsserver::normalizeHeaderName
std::string normalizeHeaderName(std::string const &name)
Normalizes case in header names.
Definition:
HTTPHeader.cpp:23
httpsserver
Definition:
ConnectionContext.cpp:3
src
HTTPHeader.hpp
Generated by
1.8.13