Protocols
The following protocols are available globally.
-
The
See moreEmailEventRepresentable
protocol is used by a struct or class that represents an email event.Declaration
Swift
public protocol EmailEventRepresentable
-
The
See moreEmailHeaderRepresentable
protocol provides a method for ensuring custom headers are valid.Declaration
Swift
public protocol EmailHeaderRepresentable
-
The
See moreScheduling
protocol contains the properties and methods needed for a class to support scheduled sends.Declaration
Swift
public protocol Scheduling
-
The
See moreValidatable
protocol defines the functions that a class or struct needs to implement in order to validate their own values. These are often adopted by structs or classes that are used to configure a request to ensure all the required information is correct and present.Declaration
Swift
public protocol Validatable