-// Copyright (C) 2016-2017 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2016-2024 Internet Systems Consortium, Inc. ("ISC")
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
#include <boost/lexical_cast.hpp>
#include <cstdint>
#include <string>
+#include <vector>
namespace isc {
namespace http {
}
};
+/// @brief Collection of HTTP header contexts.
+typedef std::vector<HttpHeaderContext> HttpHeaderContexts;
+
} // namespace http
} // namespace isc
#include <http/header_context.h>
#include <boost/shared_ptr.hpp>
#include <string>
-#include <vector>
namespace isc {
namespace http {
/// @brief HTTP minor version number.
unsigned int http_version_minor_;
/// @brief Collection of HTTP headers.
- std::vector<HttpHeaderContext> headers_;
+ HttpHeaderContexts headers_;
/// @brief HTTP request body.
std::string body_;
};
#include <http/header_context.h>
#include <boost/shared_ptr.hpp>
#include <string>
-#include <vector>
namespace isc {
namespace http {
/// @brief HTTP status phrase.
std::string phrase_;
/// @brief Collection of HTTP headers.
- std::vector<HttpHeaderContext> headers_;
+ HttpHeaderContexts headers_;
/// @brief HTTP request body.
std::string body_;
};