Type Aliases

The following type aliases are available globally.

  • Utility alias to representing json data

    Declaration

    Swift

    public typealias JSON = [String : Any]
  • A dictionary of parameters to apply to a HTTP Request

    Declaration

    Swift

    public typealias Params = [String : Any]
  • A dictionary of headers to apply to a HTTP Request

    Declaration

    Swift

    public typealias Headers = [String : String]