RESTinio
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
restinio::socket_type_dependent_settings_t< Settings, tls_socket_t > Class Template Reference

Customizes extra settings needed for working with socket. More...

#include <tls.hpp>

Public Member Functions

 socket_type_dependent_settings_t ()=default
 
 socket_type_dependent_settings_t (socket_type_dependent_settings_t &&)=default
 
Settings & tls_context (asio_ns::ssl::context context) &
 
Settings && tls_context (asio_ns::ssl::context context) &&
 
asio_ns::ssl::context tls_context ()
 

Protected Member Functions

 ~socket_type_dependent_settings_t ()=default
 

Private Member Functions

Settings & upcast_reference ()
 

Private Attributes

asio_ns::ssl::context m_tls_context { asio_ns::ssl::context::sslv23 }
 

Detailed Description

template<typename Settings>
class restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >

Customizes extra settings needed for working with socket.

Adds tls context setting.

Definition at line 78 of file tls.hpp.

Constructor & Destructor Documentation

◆ ~socket_type_dependent_settings_t()

template<typename Settings >
restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::~socket_type_dependent_settings_t ( )
protecteddefault

◆ socket_type_dependent_settings_t() [1/2]

template<typename Settings >
restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::socket_type_dependent_settings_t ( )
default

◆ socket_type_dependent_settings_t() [2/2]

Member Function Documentation

◆ tls_context() [1/3]

template<typename Settings >
Settings& restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::tls_context ( asio_ns::ssl::context  context) &
inline

Definition at line 89 of file tls.hpp.

◆ tls_context() [2/3]

template<typename Settings >
Settings&& restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::tls_context ( asio_ns::ssl::context  context) &&
inline

Definition at line 97 of file tls.hpp.

◆ tls_context() [3/3]

template<typename Settings >
asio_ns::ssl::context restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::tls_context ( )
inline

Definition at line 104 of file tls.hpp.

◆ upcast_reference()

template<typename Settings >
Settings& restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::upcast_reference ( )
inlineprivate

Definition at line 111 of file tls.hpp.

Member Data Documentation

◆ m_tls_context

template<typename Settings >
asio_ns::ssl::context restinio::socket_type_dependent_settings_t< Settings, tls_socket_t >::m_tls_context { asio_ns::ssl::context::sslv23 }
private

Definition at line 116 of file tls.hpp.


The documentation for this class was generated from the following file: