Enumerations

The following enumerations are available globally.

  • HTTP method enum with all commonly used verbs.

    See more

    Declaration

    Swift

    public enum HTTPMethod : String, CustomStringConvertible
  • Type of the API request. JSON body and multipart requests have associated values which are used as a body. The other types only describe how the HTTPParameters are encoded.

    See more

    Declaration

    Swift

    public enum RequestType
  • Standard API error returned in APIResult when no custom error was parsed in the APIAdapter first and the response from server was invalid.

    See more

    Declaration

    Swift

    public enum StandardAPIError : APIError