4#include "Stroika/Foundation/StroikaPreComp.h"
6#if qStroika_HasComponent_OpenSSL
9#include "Stroika/Foundation/Execution/RequiredComponentMissingException.h"
14using namespace Stroika::Foundation::Cryptography;
16using namespace Stroika::Foundation::IO;
18using namespace Stroika::Foundation::Streams;
26 [[maybe_unused]]
const ClientContext::Options& o) ->
Ptr
28#if qStroika_HasComponent_OpenSSL
29 return Providers::OpenSSL::SocketStream::New (sd, Providers::OpenSSL::ClientContext::Options{o});
35 [[maybe_unused]]
const ServerContext::Options& o) ->
Ptr
37#if qStroika_HasComponent_OpenSSL
38 return Providers::OpenSSL::SocketStream::New (sd, Providers::OpenSSL::ServerContext::Options{o});
A Streams::Ptr<ELEMENT_TYPE> is a smart-pointer to a stream of elements of type T.
void Throw(T &&e2Throw)
like the builtin C++ 'throw', but stamps in the current Activity context and does helpful,...