Protocols

The following protocols are available globally.

  • Client used to interface with the Sudo Email Platform service.

    It is recommended to code to this interface, rather than the implementation class (DefaultSudoEmailClient) as the implementation class is only meant to be used for initializing an instance of the client.

    See more

    Declaration

    Swift

    public protocol SudoEmailClient : AnyObject
  • Represents a subscription. When this object is released, the subscription is cancelled.

    If reference is lost to this token, the subscription will be automatically cancelled on cleanup.

    See more

    Declaration

    Swift

    public protocol SubscriptionToken : AnyObject