#include <algorithm>#include <format>#include <string>#include <vector>#include <cctype>#include "utils.hpp"Go to the source code of this file.
Classes | |
| struct | std::formatter< dcn::http::Header > |
| struct | std::formatter< dcn::http::HeadersList > |
Namespaces | |
| namespace | dcn |
| namespace | dcn::http |
| namespace | dcn::parse |
Typedefs | |
| using | dcn::http::HeadersList = std::vector< std::pair< Header, std::string > > |
| A list of headers A HeadersList is a vector of pairs, where the first element of the pair is a Header enum value and the second element is the value of the header. The index of the Header enum value is used as the key in the vector. | |
Enumerations | |
| enum class | dcn::http::Header { dcn::http::Unknown = 0 , dcn::http::Accept , dcn::http::AccessControlAllowOrigin , dcn::http::AccessControlAllowMethods , dcn::http::AccessControlAllowHeaders , dcn::http::AccessControlAllowCredentials , dcn::http::Authorization , dcn::http::Connection , dcn::http::ContentEncoding , dcn::http::ContentLength , dcn::http::ContentType , dcn::http::Cookie , dcn::http::Date , dcn::http::Expect , dcn::http::Origin , dcn::http::SetCookie , dcn::http::XRefreshToken } |
| Enum of HTTP headers as defined by the standard This enum contains the most commonly used HTTP headers. More... | |
Functions | |
| http::Header | dcn::parse::parseHeaderFromString (const std::string &header_str) |
| Parse a header string to a Header enum. | |