Enumerations
The following enumerations are available globally.
-
Describes the error states generated by
APIotaClient.The
See moreErrorResponsetype should match the associated type from anAPIotaCodableEndpointtype.Declaration
Swift
public enum APIotaClientError<ErrorResponse> : LocalizedError where ErrorResponse : Decodableextension APIotaClientError: Equatable -
Describes all valid HTTP methods.
Valid HTTP methods referenced from: https://www.iana.org/assignments/http-methods/http-methods.xhtml#methods
See moreDeclaration
Swift
public enum HTTPMethod : String -
Describes all valid HTTP status codes.
Valid HTTP status codes referenced from: https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml#http-status-codes-1
See moreDeclaration
Swift
public enum HTTPStatusCode : Intextension HTTPStatusCode: CustomStringConvertible
View on GitHub
Install in Dash
Enumerations Reference