forked from boostorg/beast
Remove HTTP header aliases (API Change):
fix #382 * request_header and response_header are removed
This commit is contained in:
1 parent
d84713ece9
commit
b9bdb1bbbc
9 files changed
+27
-79
No files matched your search
@@ -39,7 +39,7 @@ class stream<NextLayer>::response_op
|
||||
{
|
||||
bool cont;
|
||||
stream<NextLayer>& ws;
|
||||
http::response_header res;
|
||||
http::header<false, http::fields> res;
|
||||
int state = 0;
|
||||
|
||||
template<class Fields, class Decorator>
|
||||
|
||||
@@ -282,7 +282,7 @@ build_response(request_type const& req,
|
||||
template<class NextLayer>
|
||||
void
|
||||
stream<NextLayer>::
|
||||
do_response(http::response_header const& res,
|
||||
do_response(http::header<false> const& res,
|
||||
detail::sec_ws_key_type const& key, error_code& ec)
|
||||
{
|
||||
bool const success = [&]()
|
||||
|
||||
Reference in new issue
Block a user