Classes
The following classes are available globally.
-
Class for reifying a target of the
Target
enum unto a concreteEndpoint
.Note
As of Moya 11.0.0 Endpoint is no longer generic. Existing code should work as is after removing the generic. See #1529 and #1524 for the discussion.Declaration
Swift
open class Endpoint
-
Internal token that can be used to cancel requests
See moreDeclaration
Swift
public final class CancellableToken : Cancellable, CustomDebugStringConvertible
-
Request provider class. Requests should be made through this class only.
See moreDeclaration
Swift
open class MoyaProvider<Target> : MoyaProviderType where Target : TargetType
-
Provides each request with optional URLCredentials.
See moreDeclaration
Swift
public final class CredentialsPlugin : PluginType
-
Notify a request’s network activity changes (request begins or ends).
See moreDeclaration
Swift
public final class NetworkActivityPlugin : PluginType
-
Logs network activity (outgoing requests and incoming responses).
See moreDeclaration
Swift
public final class NetworkLoggerPlugin