Protocols

The following protocols are available globally.

  • Define an APIClient

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas
    See more

    Declaration

    Swift

    public protocol APIClientType
  • Any specific business error defined by the HTTP status code and the response. BusinessErrors are detected before checking ServerErrors

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas
    See more

    Declaration

    Swift

    public protocol BusinessError : Error
  • API

    Defines what an API is

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas
    See more

    Declaration

    Swift

    public protocol API
  • Defines what a server is

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas
    See more

    Declaration

    Swift

    public protocol Server
  • Defines what a network utility should provide.

    Version

    1.0.0

    Date

    20/11/22

    Author

    Adamas
    See more

    Declaration

    Swift

    public protocol NetworkHelperType