Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:29:31

0001 //
0002 // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
0003 //
0004 // Distributed under the Boost Software License, Version 1.0. (See accompanying
0005 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
0006 //
0007 // Official repository: https://github.com/boostorg/beast
0008 //
0009 
0010 #ifndef BOOST_BEAST_HTTP_FILE_BODY_HPP
0011 #define BOOST_BEAST_HTTP_FILE_BODY_HPP
0012 
0013 #include <boost/beast/core/file.hpp>
0014 #include <boost/beast/http/basic_file_body.hpp>
0015 #include <boost/assert.hpp>
0016 #include <boost/optional.hpp>
0017 #include <algorithm>
0018 #include <cstdio>
0019 #include <cstdint>
0020 #include <utility>
0021 
0022 namespace boost {
0023 namespace beast {
0024 namespace http {
0025 
0026 /// A message body represented by a file on the filesystem.
0027 using file_body = basic_file_body<file>;
0028 
0029 } // http
0030 } // beast
0031 } // boost
0032 
0033 #ifndef BOOST_BEAST_NO_FILE_BODY_WIN32
0034 #include <boost/beast/http/impl/file_body_win32.hpp>
0035 #endif
0036 
0037 #endif