//
// header.hpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
// Copyright (c) 2009 Dean Michael Berris (mikhailberis@gmail.com)
// Copyright (c) 2009 Tarroo, Inc.
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef HTTP_SERVER3_HEADER_HPP
#define HTTP_SERVER3_HEADER_HPP
#include <string>
namespace boost { namespace network { namespace http {
struct request_header
{
std::string name;
std::string value;
};
inline void swap(request_header & l, request_header & r) {
swap(l.name, r.name);
swap(l.value, r.value);
}
} // namespace http
} // namespace network
} // namespace boost
#endif // HTTP_SERVER3_HEADER_HPP