Protocols
The following protocols are available globally.
-
Protocol to define the opaque type returned from a request.
See moreDeclaration
Swift
public protocol Cancellable
-
A protocol representing a minimal interface for a MoyaProvider. Used by the reactive provider extensions.
See moreDeclaration
Swift
public protocol MoyaProviderType : AnyObject
-
A Moya Plugin receives callbacks to perform side effects wherever a request is sent or received.
for example, a plugin may be used to - log network requests - hide and show a network activity indicator - inject additional information into a request
See moreDeclaration
Swift
public protocol PluginType
-
Request type used by
See morewillSend
plugin function.Declaration
Swift
public protocol RequestType
-
A protocol for controlling the behavior of
See moreAccessTokenPlugin
.Declaration
Swift
public protocol AccessTokenAuthorizable
-
The protocol used to define the specifications necessary for a
See moreMoyaProvider
.Declaration
Swift
public protocol TargetType