103 using Ptr = std::unique_ptr<RequestHeader>;
108 :
Header(initializer_list) {}
113 [[nodiscard]]
const std::string &
getUri()
const {
return uri; }
116 [[nodiscard]]
const std::string &
getQueryArg(
const std::string &key,
const std::string &default_value)
const;
117 void setQueryArg(
const std::string &key,
const std::string &value);
131 [[nodiscard]] std::string
getUrl()
const;
132 void setUrl(
const std::string &request_url);