DarkMatterCore
-
See more
See
IDarkMatterDeclaration
Swift
@objc public class DarkMatter: NSObject, IDarkMatter
-
A class representing a DarkMatter error.
See moreDeclaration
Swift
@objc public class DarkMatterError: NSObject, Error -
Error codes for DarkMatter errors.
See moreDeclaration
Swift
@objc public enum DarkMatterErrorCode: Int -
Data class containing an error code and an error message string.
See moreDeclaration
Swift
@objc public class ErrorData: NSObject
-
A service for mananging dark errors accross all dark matter services.
See moreDeclaration
Swift
@objc public class DarkMatterErrorService: NSObject
-
The Core DarkMatter class interface. stores ids and keys for the app.
See moreDeclaration
Swift
@objc public protocol IDarkMatter: NSObjectProtocol
-
Interface for managing network requests.
See moreDeclaration
Swift
public protocol INetworkManager
-
A
NetworkManagerobject lets you send network requests. When it receives a request to send it will be added to a queue and the queue is processed one request at a time in a FIFO manner.When an error is received in a response the request will be automatically retried if the status code supports retries as determined by calling the
See moreDarkMatterError.shouldRetry(code:)method.Declaration
Swift
@objc public class NetworkManager: NSObject, INetworkManager
-
The
See moreOptionsclass represents options for configuring the timeout and retry behavior of a network request.Declaration
Swift
@objc public class Options: NSObject
DarkMatterCore Reference