Skip to content

Commit 7466d7d

Browse files
committed
Refactor route_params and tidy
1 parent d691cd6 commit 7466d7d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

include/boost/http/server/router.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@
2020
#include <boost/capy/io/any_buffer_source.hpp>
2121
#include <boost/capy/io/any_buffer_sink.hpp>
2222
#include <boost/http/datastore.hpp>
23-
#include <boost/http/request.hpp> // VFALCO forward declare?
24-
#include <boost/http/request_parser.hpp> // VFALCO forward declare?
25-
#include <boost/http/response.hpp> // VFALCO forward declare?
26-
#include <boost/http/serializer.hpp> // VFALCO forward declare?
23+
#include <boost/http/request.hpp>
24+
#include <boost/http/response.hpp>
2725
#include <boost/url/url_view.hpp>
2826
#include <boost/system/error_code.hpp>
2927
#include <memory>
@@ -57,8 +55,6 @@ struct BOOST_HTTP_SYMBOL_VISIBLE
5755
http::response res;
5856
capy::any_buffer_source req_body;
5957
capy::any_buffer_sink res_body;
60-
http::request_parser parser;
61-
http::serializer serializer;
6258
http::datastore route_data; // arbitrary data
6359
http::datastore session_data;
6460

0 commit comments

Comments
 (0)