2016-11-20 07:32:41 -05:00
|
|
|
//
|
|
|
|
|
// Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
|
|
|
|
|
//
|
|
|
|
|
// 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 BEAST_HTTP_IMPL_HEADER_PARSER_IPP
|
|
|
|
|
#define BEAST_HTTP_IMPL_HEADER_PARSER_IPP
|
|
|
|
|
|
|
|
|
|
namespace beast {
|
|
|
|
|
namespace http {
|
|
|
|
|
|
|
|
|
|
template<bool isRequest, class Fields>
|
2017-05-31 08:01:55 -07:00
|
|
|
template<class Arg0, class... ArgN, class>
|
2016-11-20 07:32:41 -05:00
|
|
|
header_parser<isRequest, Fields>::
|
2017-05-31 08:01:55 -07:00
|
|
|
header_parser(Arg0&& arg0, ArgN&&... argn)
|
|
|
|
|
: h_(std::forward<Arg0>(arg0),
|
|
|
|
|
std::forward<ArgN>(argn)...)
|
2016-11-20 07:32:41 -05:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // http
|
|
|
|
|
} // beast
|
|
|
|
|
|
|
|
|
|
#endif
|