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

Result of a WebSocket handshake operation. More...

#include <websocket_handshake.h>

Collaboration diagram for kcenon::network::internal::ws_handshake_result:
Collaboration graph

Public Attributes

bool success
 Whether the handshake was successful.
 
std::string error_message
 Error message if success is false.
 
std::map< std::string, std::string > headers
 Parsed HTTP headers.
 

Detailed Description

Result of a WebSocket handshake operation.

Contains the success status, error message (if any), and parsed HTTP headers from the handshake request or response.

Definition at line 22 of file websocket_handshake.h.

Member Data Documentation

◆ error_message

std::string kcenon::network::internal::ws_handshake_result::error_message

◆ headers

std::map<std::string, std::string> kcenon::network::internal::ws_handshake_result::headers

◆ success

bool kcenon::network::internal::ws_handshake_result::success

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