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

Classes

struct  is_tls_enabled
 Type trait to check if a policy enables TLS. More...
 
struct  no_tls
 Policy type indicating no TLS/SSL encryption. More...
 
struct  tls_enabled
 Policy type indicating TLS/SSL encryption is enabled. More...
 

Concepts

concept  TlsPolicy
 Concept that constrains types to be valid TLS policies.
 

Variables

template<TlsPolicy Policy>
constexpr bool is_tls_enabled_v = Policy::enabled
 Helper variable template to check if TLS is enabled at compile time.
 

Variable Documentation

◆ is_tls_enabled_v

template<TlsPolicy Policy>
bool kcenon::network::policy::is_tls_enabled_v = Policy::enabled
inlineconstexpr

Helper variable template to check if TLS is enabled at compile time.

Definition at line 96 of file tls_policy.h.