Protocols

The following protocols are available globally.

  • The Heartbeat configuration

    See more

    Declaration

    Swift

    public protocol HeartbeatConfiguration
  • Heartbeat Manager manages stream concurrency limit checks and blackout checks.

    Stream would be aborted on following cases:

    • heatbeat update fails on server
    • heartbeat updated fails for consecutive attempts as per configuration
    • content is blacked out
    See more

    Declaration

    Swift

    public protocol HeartbeatManager
  • The Heartbeat Service contract

    See more

    Declaration

    Swift

    public protocol HeartbeatService
  • The Interface for heartbeat server response

    See more

    Declaration

    Swift

    public protocol HeartbeatResponse : Decodable
  • The Stream Concurrency Service contract

    See more

    Declaration

    Swift

    public protocol StreamConcurrencyService