How to migrate AFNetworking 1.x to 2.x

336 Views Asked by At

I'm trying to migrate AFNetworking version 1.x to 2.x.

In the Migration Guide, AFHTTPClient.m is separated to AFHTTPRequestOperationManager & AFHTTPSessionManager but I can't find AFHTTPClient registerHTTPOperationClass: in either AFHTTPRequestOperationManager or AFHTTPSessionManager.

What function can substitute for registerHTTPOperationClass:?

0

There are 0 best solutions below