123456789101112131415161718192021222324252627282930313233343536 |
- //
- // Copyright (c) 2016-2019 Vinnie Falco (vinnie dot falco at gmail dot com)
- //
- // Distributed under the Boost Software License, Version 1.0. (See accompanying
- // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
- //
- // Official repository: https://github.com/boostorg/beast
- //
- #ifndef BHO_BEAST_HTTP_FILE_BODY_HPP
- #define BHO_BEAST_HTTP_FILE_BODY_HPP
- #include <asio2/bho/beast/core/file.hpp>
- #include <asio2/bho/beast/http/basic_file_body.hpp>
- #include <asio2/bho/assert.hpp>
- #include <optional>
- #include <algorithm>
- #include <cstdio>
- #include <cstdint>
- #include <utility>
- namespace bho {
- namespace beast {
- namespace http {
- /// A message body represented by a file on the filesystem.
- using file_body = basic_file_body<file>;
- } // http
- } // beast
- } // bho
- #ifndef BHO_BEAST_NO_FILE_BODY_WIN32
- #endif
- #endif
|