mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 20:32:43 +00:00
19 lines
401 B
C++
19 lines
401 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace DB
|
|
{
|
|
|
|
struct HTTPHeaderEntry
|
|
{
|
|
std::string name;
|
|
std::string value;
|
|
|
|
HTTPHeaderEntry(const std::string & name_, const std::string & value_) : name(name_), value(value_) {}
|
|
bool operator==(const HTTPHeaderEntry & other) const { return name == other.name && value == other.value; }
|
|
};
|
|
|
|
using HTTPHeaderEntries = std::vector<HTTPHeaderEntry>;
|
|
|
|
}
|