Back to home page

EIC code displayed by LXR

 
 

    


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

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_WEBSOCKET_IMPL_ERROR_HPP
0011 #define BOOST_BEAST_WEBSOCKET_IMPL_ERROR_HPP
0012 
0013 namespace boost {
0014 namespace system {
0015 template<>
0016 struct is_error_code_enum<::boost::beast::websocket::error>
0017 {
0018     static bool const value = true;
0019 };
0020 template<>
0021 struct is_error_condition_enum<::boost::beast::websocket::condition>
0022 {
0023     static bool const value = true;
0024 };
0025 } // system
0026 } // boost
0027 
0028 namespace boost {
0029 namespace beast {
0030 namespace websocket {
0031 
0032 BOOST_BEAST_DECL
0033 error_code
0034 make_error_code(error e);
0035 
0036 BOOST_BEAST_DECL
0037 error_condition
0038 make_error_condition(condition c);
0039 
0040 } // websocket
0041 } // beast
0042 } // boost
0043 
0044 #endif