Type Aliases

The following type aliases are available globally.

  • A dictionary of parameters to apply to a URLRequest.

    Declaration

    Swift

    public typealias Parameters = [String : Any]
  • Default type of Result returned by Alamofire, with an AFError Failure type.

    Declaration

    Swift

    public typealias AFResult<Success> = Result<Success, AFError>