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 moreErrorType
that represents various errors that can occur when executingDataTransaction
s.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.Other
case.Declaration
Swift
public enum HTTPResponseStatus