Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
websocket.cpp File Reference
Include dependency graph for websocket.cpp:

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.