TimeoutTarget

public protocol TimeoutTarget

A protocol for Moya target to specify a custom timeout.

  • The timeout defined by the target.

    Declaration

    Swift

    var timeoutInterval: TimeInterval { get }