ゴミ箱
error.hpp
Go to the documentation of this file.
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_WEBSOCKET_ERROR_HPP
11 #define BOOST_BEAST_WEBSOCKET_ERROR_HPP
12 
13 #include <boost/beast/config.hpp>
15 
16 namespace boost {
17 namespace beast {
18 namespace websocket {
19 
21 enum class error
22 {
24  closed = 1,
25 
27  failed,
28 
31 
34 };
35 
36 } // websocket
37 } // beast
38 } // boost
39 
41 
42 #endif
Definition: async_result.hpp:20
Both sides performed a WebSocket close.
error
Error codes returned from beast::websocket::stream operations.
Definition: error.hpp:21
WebSocket connection failed, protocol violation.