| 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 | #ifndef BOOST_HTTP_PROTO_IMPL_REQUEST_PARSER_IPP | ||
| 11 | #define BOOST_HTTP_PROTO_IMPL_REQUEST_PARSER_IPP | ||
| 12 | |||
| 13 | #include <boost/http_proto/request_parser.hpp> | ||
| 14 | |||
| 15 | namespace boost { | ||
| 16 | namespace http_proto { | ||
| 17 | |||
| 18 | 3425 | request_parser:: | |
| 19 | request_parser( | ||
| 20 | 3425 | context& ctx) | |
| 21 | : parser( | ||
| 22 | ctx, | ||
| 23 | 3425 | detail::kind::request) | |
| 24 | { | ||
| 25 | 3425 | } | |
| 26 | |||
| 27 | request_view | ||
| 28 | 2749 | request_parser:: | |
| 29 | get() const | ||
| 30 | { | ||
| 31 | return request_view( | ||
| 32 | 2749 | safe_get_header()); | |
| 33 | } | ||
| 34 | |||
| 35 | } // http_proto | ||
| 36 | } // boost | ||
| 37 | |||
| 38 | #endif | ||
| 39 |