API AFNetworking 2.0 para la carga de formularios de varias partes

¿Qué es el método AFNetworking 2.0 para cargar una forma multiparte, es decir, con AFHTTPSessionManager o AFHTTPRequestOperationManager

Aquí hay un ejemplo de algunos códigos de AFNetworking <2.0:

 [[ASAPIClient shanetworkingClient] enqueueHTTPRequestOperation:[[ASAPIClient shanetworkingClient] HTTPRequestOperationWithRequest:[[ASAPIClient shanetworkingClient] multipartFormRequestWithMethod:@"POST" path:@"/some/url" parameters:params constructingBodyWithBlock:^(id<AFMultipartFormData> formData) { if(_selectedPhoto.image) { NSData *imageData = UIImageJPEGRepresentation([_selectedPhoto image], 0.5); [formData appendPartWithFileData:imageData name:@"avatar" fileName:@"avatar.jpg" mimeType:@"image/jpeg"]; } }] success:^(AFHTTPRequestOperation *operation, id responseObject) { if([[responseObject objectForKey:@"result"]isKindOfClass:[NSDictionary class]] ) { } } failure:^(AFHTTPRequestOperation *operation, NSError *error) { }]]; 

ASAPIManager es una subclass de AFHTTPRequestOperationManager

 [[ASAPIManager shanetworkingManager] POST:@"/some/url" parameters:params constructingBodyWithBlock:^(id<AFMultipartFormData> formData) { if(_profileImageView.image){ [formData appendPartWithFileData:UIImageJPEGRepresentation(_profileImageView.image, 0.5) name:@"avatar" fileName:@"avatar.jpg" mimeType:@"image/jpeg"]; } } success:^(AFHTTPRequestOperation *operation, id responseObject) { } failure:^(AFHTTPRequestOperation *operation, NSError *error) { }];