MultiTarget
public enum MultiTarget : TargetType
A TargetType used to enable MoyaProvider to process multiple TargetTypes.
-
The embedded
TargetType.Declaration
Swift
case target(TargetType) -
Initializes a
MultiTarget.Declaration
Swift
public init(_ target: TargetType) -
The embedded target’s base
URL.Declaration
Swift
public var path: String { get } -
The baseURL of the embedded target.
Declaration
Swift
public var baseURL: URL { get } -
The HTTP method of the embedded target.
Declaration
Swift
public var method: Moya.Method { get } -
The sampleData of the embedded target.
Declaration
Swift
public var sampleData: Data { get } -
The
ValidationTypeof the embedded target.Declaration
Swift
public var validationType: ValidationType { get } -
The headers of the embedded target.
Declaration
Swift
public var headers: [String : String]? { get } -
The embedded
TargetType.Declaration
Swift
public var target: TargetType { get }
-
Declaration
Swift
public var authorizationType: AuthorizationType? { get }
MultiTarget Enumeration Reference