StackOverflow 文档 iOS 教程 Alamofire 自动验证 自动验证 Created: November-22, 2018 Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in switch response.result { case .success: print("Validation Successful") case .failure(let error): print(error) } } 链式响应处理程序手动验证