Use field in basic_parser

This commit is contained in:
Vinnie Falco
2017-07-20 08:12:18 -07:00
parent ca25eee0dd
commit fb2f777b4d
9 changed files with 37 additions and 33 deletions
+3 -3
View File
@@ -11,6 +11,7 @@
#include <beast/config.hpp>
#include <beast/core/error.hpp>
#include <beast/core/string_view.hpp>
#include <beast/http/field.hpp>
#include <beast/http/verb.hpp>
#include <beast/http/detail/basic_parser.hpp>
#include <boost/asio/buffer.hpp>
@@ -394,9 +395,8 @@ private:
char const* last, error_code& ec);
void
do_field(string_view name,
string_view value,
error_code& ec);
do_field(field f,
string_view value, error_code& ec);
};
} // http