ws_protocol.hpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MPL-2.0 */
2 
3 #ifndef __ZMQ_WS_PROTOCOL_HPP_INCLUDED__
4 #define __ZMQ_WS_PROTOCOL_HPP_INCLUDED__
5 
6 namespace zmq
7 {
8 // Definition of constants for WS transport protocol.
10 {
11  public:
12  // Message flags.
13  enum opcode_t
14  {
16  opcode_text = 0x01,
17  opcode_binary = 0x02,
18  opcode_close = 0x08,
19  opcode_ping = 0x09,
21  };
22 
23  enum
24  {
25  more_flag = 1,
27  };
28 };
29 }
30 
31 #endif
zmq::ws_protocol_t::opcode_close
@ opcode_close
Definition: ws_protocol.hpp:18
zmq
Definition: zmq.hpp:229
zmq::ws_protocol_t
Definition: ws_protocol.hpp:9
zmq::ws_protocol_t::opcode_binary
@ opcode_binary
Definition: ws_protocol.hpp:17
zmq::ws_protocol_t::opcode_pong
@ opcode_pong
Definition: ws_protocol.hpp:20
zmq::ws_protocol_t::more_flag
@ more_flag
Definition: ws_protocol.hpp:25
zmq::ws_protocol_t::opcode_t
opcode_t
Definition: ws_protocol.hpp:13
zmq::ws_protocol_t::opcode_ping
@ opcode_ping
Definition: ws_protocol.hpp:19
zmq::ws_protocol_t::opcode_text
@ opcode_text
Definition: ws_protocol.hpp:16
zmq::ws_protocol_t::opcode_continuation
@ opcode_continuation
Definition: ws_protocol.hpp:15
zmq::ws_protocol_t::command_flag
@ command_flag
Definition: ws_protocol.hpp:26


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:02