Protocols
The following protocols are available globally.
-
Protocol used to serialize errors received from sending
See moreAPIRequest
orUploadAPIRequest
.Declaration
Swift
public protocol ErrorSerializable : Error
-
Protocol used to serialize errors received from sending
See moreDownloadAPIRequest
.Declaration
Swift
public protocol DownloadErrorSerializable : Error
-
Protocol used to allow
See moreAPIRequest
to communicate withTRON
instance.Declaration
Swift
public protocol TronDelegate : AnyObject
-
Type-erased cancellation token.
See moreDeclaration
Swift
public protocol RequestCancellable