]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/beast/http/file_body.hpp
42e7a153309d1ea03febff3f80379a5c75c6431f
[ceph.git] / ceph / src / boost / boost / beast / http / file_body.hpp
1 //
2 // Copyright (c) 2016-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 // Official repository: https://github.com/boostorg/beast
8 //
9
10 #ifndef BOOST_BEAST_HTTP_FILE_BODY_HPP
11 #define BOOST_BEAST_HTTP_FILE_BODY_HPP
12
13 #include <boost/beast/core/file.hpp>
14 #include <boost/beast/http/basic_file_body.hpp>
15 #include <boost/assert.hpp>
16 #include <boost/optional.hpp>
17 #include <algorithm>
18 #include <cstdio>
19 #include <cstdint>
20 #include <utility>
21
22 namespace boost {
23 namespace beast {
24 namespace http {
25
26 /// A message body represented by a file on the filesystem.
27 using file_body = basic_file_body<file>;
28
29 } // http
30 } // beast
31 } // boost
32
33 #include <boost/beast/http/impl/file_body_win32.ipp>
34
35 #endif