Type Aliases

The following type aliases are available globally.

  • Result that always has an Error Failure type.

    Declaration

    Swift

    public typealias AFResult<T> = Result<T, Error>
  • A dictionary of parameters to apply to a URLRequest.

    Declaration

    Swift

    public typealias Parameters = [String : Any]