Enums
The following enums are available globally.
-
Represents the HTTP method used to issue a request.
See moreDeclaration
Swift
public enum HTTPRequestMethod
-
Represents the possible outcomes of executing a given
See moreDataTransaction.Declaration
Swift
public enum TransactionResult<ResponseDataType, MetadataType>
-
An
See moreErrorTypethat represents various errors that can occur when executingDataTransactions.Declaration
Swift
public enum DataTransactionError: Error
-
Meaningful values for some of the common HTTP response codes.
Note that not every HTTP code is represented here; those that aren’t can be stored in the
See more.Othercase.Declaration
Swift
public enum HTTPResponseStatus
View on GitHub
Enums Reference