serializer_fwd.hpp 813 B

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // Copyright (c) 2024 Mohammad Nejati
  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. #ifndef BOOST_BEAST_HTTP_SERIALIZER_FWD_HPP
  10. #define BOOST_BEAST_HTTP_SERIALIZER_FWD_HPP
  11. #include <boost/beast/http/fields_fwd.hpp>
  12. namespace boost {
  13. namespace beast {
  14. namespace http {
  15. #ifndef BOOST_BEAST_DOXYGEN
  16. template<bool isRequest, class Body, class Fields = fields>
  17. class serializer;
  18. template<class Body, class Fields = fields>
  19. using request_serializer = serializer<true, Body, Fields>;
  20. template<class Body, class Fields = fields>
  21. using response_serializer = serializer<false, Body, Fields>;
  22. #endif
  23. } // http
  24. } // beast
  25. } // boost
  26. #endif