C++ Actor Framework 1.0.0
|
DSL entry point for creating a server. More...
#include <has_context.hpp>
Inherits Base.
Public Member Functions | |
Subtype & | context (ssl::context ctx) |
Sets the optional SSL context. | |
Subtype & | context (expected< ssl::context > ctx) |
Sets the optional SSL context. | |
DSL entry point for creating a server.
Subtype & caf::net::dsl::has_context< Base, Subtype >::context | ( | expected< ssl::context > | ctx | ) |
Sets the optional SSL context.
ctx | The SSL context for encryption. Passing an expected with a default-constructed error results in a no-op. |
*this
. Subtype & caf::net::dsl::has_context< Base, Subtype >::context | ( | ssl::context | ctx | ) |
Sets the optional SSL context.
ctx | The SSL context for encryption. |
*this
.