Classes

The following classes are available globally.

  • A common interface for processing HTTP responses.

    See more

    Declaration

    Swift

    public class Handler<T>
  • A handler that converts a JSON response into Codable objects.

    See more

    Declaration

    Swift

    public class CodableHandler<T> : Handler<T> where T : Decodable, T : Encodable
  • A handler that returns the raw response data.

    Declaration

    Swift

    public class DataHandler : Handler<Data>
  • A handler that converts a JSON response into a dictionary.

    Declaration

    Swift

    public class JsonDictionaryHandler : Handler<[AnyHashable : Any]>