ゴミ箱
option.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_OPTION_HPP
11 #define BOOST_BEAST_WEBSOCKET_OPTION_HPP
12 
13 #include <boost/beast/config.hpp>
16 #include <boost/throw_exception.hpp>
17 #include <algorithm>
18 #include <cstdint>
19 #include <functional>
20 #include <stdexcept>
21 #include <type_traits>
22 #include <utility>
23 
24 namespace boost {
25 namespace beast {
26 namespace websocket {
27 
37 {
39  bool server_enable = false;
40 
42  bool client_enable = false;
43 
49 
55 
58 
61 
63  int compLevel = 8;
64 
66  int memLevel = 4;
67 };
68 
69 } // websocket
70 } // beast
71 } // boost
72 
73 #endif
int memLevel
Deflate memory level, 1..9.
Definition: option.hpp:66
Definition: async_result.hpp:20
int client_max_window_bits
Definition: option.hpp:54
int server_max_window_bits
Definition: option.hpp:48
bool client_no_context_takeover
true if client_no_context_takeover desired
Definition: option.hpp:60
bool server_enable
true to offer the extension in the server role
Definition: option.hpp:39
int compLevel
Deflate compression level 0..9.
Definition: option.hpp:63
bool server_no_context_takeover
true if server_no_context_takeover desired
Definition: option.hpp:57
bool client_enable
true to offer the extension in the client role
Definition: option.hpp:42