]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | // |
2 | // Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot 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 | ||
8 | #ifndef BEAST_HTTP_STREAMBUF_BODY_HPP | |
9 | #define BEAST_HTTP_STREAMBUF_BODY_HPP | |
10 | ||
11 | #include <beast/config.hpp> | |
12 | #include <beast/http/basic_dynabuf_body.hpp> | |
13 | #include <beast/core/streambuf.hpp> | |
14 | ||
15 | namespace beast { | |
16 | namespace http { | |
17 | ||
18 | /** A message body represented by a @ref streambuf | |
19 | ||
20 | Meets the requirements of @b `Body`. | |
21 | */ | |
22 | using streambuf_body = basic_dynabuf_body<streambuf>; | |
23 | ||
24 | } // http | |
25 | } // beast | |
26 | ||
27 | #endif |