C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::dsl::has_lazy_context< Base, Subtype > Class Template Reference

DSL entry point for postponing the creation of a ssl context, if and when needed by the protocol. More...

#include <has_lazy_context.hpp>

Inherits Base.

Public Member Functions

template<typename F >
Subtype & context_factory (F factory)
 Sets the optional SSL context factory.
 

Detailed Description

template<class Base, class Subtype>
class caf::net::dsl::has_lazy_context< Base, Subtype >

DSL entry point for postponing the creation of a ssl context, if and when needed by the protocol.

Member Function Documentation

◆ context_factory()

template<class Base , class Subtype >
template<typename F >
Subtype & caf::net::dsl::has_lazy_context< Base, Subtype >::context_factory ( F factory)

Sets the optional SSL context factory.

Parameters
factoryThe function creating the SSL context for encryption.
Returns
a reference to *this.

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