|
Network System 0.1.1
High-performance modular networking library for scalable client-server applications
|
WebSocket protocol connection factory functions. More...
#include "kcenon/network/detail/unified/i_connection.h"#include "kcenon/network/detail/unified/i_listener.h"#include "kcenon/network/detail/unified/types.h"#include <memory>#include <string>#include <string_view>

Go to the source code of this file.
Namespaces | |
| namespace | kcenon |
| namespace | kcenon::network |
| Main namespace for all Network System components. | |
| namespace | kcenon::network::protocol |
| namespace | kcenon::network::protocol::websocket |
Functions | |
| auto | kcenon::network::protocol::websocket::create_connection (std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates a WebSocket connection (not yet started) | |
| auto | kcenon::network::protocol::websocket::connect (std::string_view url, std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates and starts a WebSocket connection in one call. | |
| auto | kcenon::network::protocol::websocket::connect (const unified::endpoint_info &endpoint, std::string_view path="/", std::string_view id="") -> std::unique_ptr< unified::i_connection > |
| Creates and starts a WebSocket connection using endpoint info. | |
| auto | kcenon::network::protocol::websocket::create_listener (std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates a WebSocket listener (not yet listening) | |
| auto | kcenon::network::protocol::websocket::listen (const unified::endpoint_info &bind_address, std::string_view path="/", std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates and starts a WebSocket listener in one call. | |
| auto | kcenon::network::protocol::websocket::listen (uint16_t port, std::string_view path="/", std::string_view id="") -> std::unique_ptr< unified::i_listener > |
| Creates and starts a WebSocket listener on a specific port. | |
WebSocket protocol connection factory functions.
WebSocket protocol factory functions for the unified transport layer.
Provides create_connection() and create_listener() factory functions for WebSocket transport with optional TLS (wss://) support.
Definition in file websocket.h.