MoyaProviderType
public protocol MoyaProviderType : AnyObject
A protocol representing a minimal interface for a MoyaProvider. Used by the reactive provider extensions.
-
Undocumented
Declaration
Swift
associatedtype Target : TargetType
-
Designated request-making method. Returns a
Cancellable
token to cancel the request later.Declaration
Swift
func request(_ target: Target, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> Cancellable