|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
Result of a WebSocket handshake operation. More...
#include <websocket_handshake.h>

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. | |
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.
| std::string kcenon::network::internal::ws_handshake_result::error_message |
Error message if success is false.
Definition at line 25 of file websocket_handshake.h.
Referenced by kcenon::network::internal::websocket_handshake::parse_client_request(), and kcenon::network::internal::websocket_handshake::validate_server_response().
| std::map<std::string, std::string> kcenon::network::internal::ws_handshake_result::headers |
Parsed HTTP headers.
Definition at line 26 of file websocket_handshake.h.
Referenced by kcenon::network::internal::websocket_handshake::parse_client_request(), and kcenon::network::internal::websocket_handshake::validate_server_response().
| bool kcenon::network::internal::ws_handshake_result::success |
Whether the handshake was successful.
Definition at line 24 of file websocket_handshake.h.
Referenced by kcenon::network::internal::websocket_handshake::parse_client_request(), and kcenon::network::internal::websocket_handshake::validate_server_response().