|
join 1.0
lightweight network framework library
|
SMTPS protocol class (SMTP over TLS). More...
#include <smtp_protocol.hpp>
Public Types | |
| using | Transport = Tcp |
| using | Endpoint = typename Transport::Endpoint |
| using | Socket = BasicTlsWrapper<Smtps> |
| using | Stream = BasicTlsStream<Smtps> |
| using | Client = BasicSmtpSecureClient<Smtps> |
Public Member Functions | |
| constexpr | Smtps (int family=AF_INET) noexcept |
| construct the SMTPS protocol instance. | |
| constexpr int | family () const noexcept |
| get the protocol IP address family. | |
Static Public Member Functions | |
| static Smtps & | v4 () noexcept |
| get protocol suitable for IPv4 address family. | |
| static Smtps & | v6 () noexcept |
| get protocol suitable for IPv6 address family. | |
Static Public Attributes | |
| static constexpr uint16_t | defaultPort = 465 |
| default SMTPS port. | |
SMTPS protocol class (SMTP over TLS).
| using join::Smtps::Endpoint = typename Transport::Endpoint |
| using join::Smtps::Socket = BasicTlsWrapper<Smtps> |
| using join::Smtps::Stream = BasicTlsStream<Smtps> |
| using join::Smtps::Transport = Tcp |
|
inlineexplicitconstexprnoexcept |
construct the SMTPS protocol instance.
| family | IP address family. |
|
inlineconstexprnoexcept |
get the protocol IP address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv4 address family.
|
inlinestaticnoexcept |
get protocol suitable for IPv6 address family.
|
staticconstexpr |
default SMTPS port.