Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
Returns whether the connection negotiated the use of SSL or not.
bool uses_ssl() const noexcept;
This function can be used to determine whether you are using a SSL connection or not when using SSL negotiation.
This function always returns false
for connections that haven't been established yet. If the connection establishment
fails, the return value is undefined.
No-throw guarantee.