Protocols

The following protocols are available globally.

  • The EmailEventRepresentable protocol is used by a struct or class that represents an email event.

    See more

    Declaration

    Swift

    public protocol EmailEventRepresentable
  • The EmailHeaderRepresentable protocol provides a method for ensuring custom headers are valid.

    See more

    Declaration

    Swift

    public protocol EmailHeaderRepresentable
  • The Scheduling protocol contains the properties and methods needed for a class to support scheduled sends.

    See more

    Declaration

    Swift

    public protocol Scheduling
  • The Validatable 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.

    See more

    Declaration

    Swift

    public protocol Validatable