| 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/request_parser.hpp> | ||
| 11 | |||
| 12 | namespace boost { | ||
| 13 | namespace http_proto { | ||
| 14 | |||
| 15 | 1024 | request_parser:: | |
| 16 | request_parser( | ||
| 17 | 1024 | const rts::context& ctx) | |
| 18 | : parser( | ||
| 19 | ctx, | ||
| 20 | 1024 | detail::kind::request) | |
| 21 | { | ||
| 22 | 1024 | } | |
| 23 | |||
| 24 | static_request const& | ||
| 25 | 315 | request_parser:: | |
| 26 | get() const | ||
| 27 | { | ||
| 28 | 315 | return safe_get_request(); | |
| 29 | } | ||
| 30 | |||
| 31 | } // http_proto | ||
| 32 | } // boost | ||
| 33 |