Line |
Branch |
Exec |
Source |
1 |
|
|
// |
2 |
|
|
// Copyright (c) 2019 Vinnie Falco (vinnie.falco@gmail.com) |
3 |
|
|
// |
4 |
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying |
5 |
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
6 |
|
|
// |
7 |
|
|
// Official repository: https://github.com/cppalliance/http_proto |
8 |
|
|
// |
9 |
|
|
|
10 |
|
|
#include <boost/http_proto/response_parser.hpp> |
11 |
|
|
|
12 |
|
|
namespace boost { |
13 |
|
|
namespace http_proto { |
14 |
|
|
|
15 |
|
24 |
response_parser:: |
16 |
|
|
response_parser( |
17 |
|
24 |
context& ctx) |
18 |
|
|
: parser( |
19 |
|
|
ctx, |
20 |
|
24 |
detail::kind::response) |
21 |
|
|
{ |
22 |
|
24 |
} |
23 |
|
|
|
24 |
|
|
response_view |
25 |
|
✗ |
response_parser:: |
26 |
|
|
get() const |
27 |
|
|
{ |
28 |
|
|
return response_view( |
29 |
|
✗ |
safe_get_header()); |
30 |
|
|
} |
31 |
|
|
|
32 |
|
|
} // http_proto |
33 |
|
|
} // boost |
34 |
|
|
|