Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
kcenon::network::protocol::websocket_protocol Struct Reference

Protocol tag for WebSocket transport. More...

#include <protocol_tags.h>

Collaboration diagram for kcenon::network::protocol::websocket_protocol:
Collaboration graph

Static Public Attributes

static constexpr std::string_view name {"websocket"}
 
static constexpr bool is_connection_oriented = true
 
static constexpr bool is_reliable = true
 

Detailed Description

Protocol tag for WebSocket transport.

Represents the WebSocket protocol, providing full-duplex communication channels over a single TCP connection with HTTP upgrade handshake.

Characteristics

  • Connection-oriented (over TCP)
  • Full-duplex communication
  • Frame-based messaging
  • HTTP upgrade handshake

Definition at line 79 of file protocol_tags.h.

Member Data Documentation

◆ is_connection_oriented

bool kcenon::network::protocol::websocket_protocol::is_connection_oriented = true
staticconstexpr

Definition at line 81 of file protocol_tags.h.

◆ is_reliable

bool kcenon::network::protocol::websocket_protocol::is_reliable = true
staticconstexpr

Definition at line 82 of file protocol_tags.h.

◆ name

std::string_view kcenon::network::protocol::websocket_protocol::name {"websocket"}
staticconstexpr

Definition at line 80 of file protocol_tags.h.

80{"websocket"};

The documentation for this struct was generated from the following file: