boost::corosio::wolfssl_supports_alpn
Report whether this WolfSSL build can negotiate ALPN.
Synopsis
Declared in <boost/corosio/wolfssl_stream.hpp>
bool
wolfssl_supports_alpn() noexcept;
Description
ALPN requires a WolfSSL built with HAVE_ALPN. On a build without it, offering protocols via tls_context::set_alpn fails the handshake with std::errc::function_not_supported rather than silently negotiating nothing.
Return Value
true if ALPN is supported by this build, false if offering protocols will cause the handshake to fail.
See Also
tls_context::set_alpn, tls_stream::alpn_protocol
Created with MrDocs