Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
session.h File Reference

Unified session header for network_system. More...

Include dependency graph for session.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

Unified session header for network_system.

This is the main entry point for network session management. It includes all session-related headers:

  • messaging_session: TCP-based messaging sessions
  • secure_session: TLS/SSL encrypted sessions
  • quic_session: QUIC protocol sessions

Usage:

using namespace kcenon::network::session;
// Create a messaging session for TCP communication
auto session = std::make_shared<messaging_session>(socket, io_context);
// Create a secure session for encrypted communication
auto secure = std::make_shared<secure_session>(socket, ssl_context);
// Create a QUIC session for modern transport
auto quic = std::make_shared<quic_session>(connection);
Unified session header for network_system.
Note
Individual headers in detail/session/ are implementation details. Please use this unified header for session management needs.
See also
detail/session/messaging_session.h For TCP messaging sessions
detail/session/secure_session.h For TLS/SSL sessions
detail/session/quic_session.h For QUIC protocol sessions

Definition in file session.h.