Protocols
The following protocols are available globally.
-
This protocol should be inhereted by the Environment enum.
See moreDeclaration
Swift
public protocol EnvironmentProtocol
-
Undocumented
See moreDeclaration
Swift
public protocol TransformerProtocol : NSObject
-
Use this protocol to define repositories as enums.
See moreDeclaration
Swift
public protocol EndpointProtocol
-
Use this protocol to create interceptors that can be passed to Configuration instances. Every class which implements this protocol will intercept between request completion and callbacks.
See moreDeclaration
Swift
public protocol InterceptorProtocol
-
This protocol is used to register a middleware in order to modify body and headers of a request. (e.g. it can be used with Crypto Swift library to encrypt or decrypt the data.
See moreDeclaration
Swift
public protocol RequestMiddlewareProtocol