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;
27#if qStroika_HasComponent_OpenSSL
28 return Providers::OpenSSL::SocketStream::New (sd, Providers::OpenSSL::ClientContext::Options{o});
30 Throw (RequiredComponentMissingException{
"SSL providing service"sv});
35#if qStroika_HasComponent_OpenSSL
36 return Providers::OpenSSL::SocketStream::New (sd, Providers::OpenSSL::ServerContext::Options{o});
38 Throw (RequiredComponentMissingException{
"SSL providing service"sv});
A Streams::Ptr<ELEMENT_TYPE> is a smart-pointer to a stream of elements of type T.
void Throw(T &&e2Throw)
identical to builtin C++ 'throw' except that it does helpful, type dependent DbgTrace() messages firs...