join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::Smtps Class Reference

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.
 

Detailed Description

SMTPS protocol class (SMTP over TLS).

Member Typedef Documentation

◆ Client

◆ Endpoint

◆ Socket

◆ Stream

◆ Transport

Constructor & Destructor Documentation

◆ Smtps()

join::Smtps::Smtps ( int family = AF_INET)
inlineexplicitconstexprnoexcept

construct the SMTPS protocol instance.

Parameters
familyIP address family.

Member Function Documentation

◆ family()

int join::Smtps::family ( ) const
inlineconstexprnoexcept

get the protocol IP address family.

Returns
the protocol IP address family.

◆ v4()

static Smtps & join::Smtps::v4 ( )
inlinestaticnoexcept

get protocol suitable for IPv4 address family.

Returns
an IPv4 address family suitable protocol.

◆ v6()

static Smtps & join::Smtps::v6 ( )
inlinestaticnoexcept

get protocol suitable for IPv6 address family.

Returns
an IPv6 address family suitable protocol.

Member Data Documentation

◆ defaultPort

uint16_t join::Smtps::defaultPort = 465
staticconstexpr

default SMTPS port.


The documentation for this class was generated from the following file: