In AFNetworking 2.0 I am using AFHTTPRequestOperation. In this I can easily get NSURLRequest from following code.
AFHTTPRequestOperation *op;
self.fields = op.request.allHTTPHeaderFields[@"Fields"];
But now I am upgrading to AFNetworking 3.0 which is using AFHTTPSessionManager instead of AFHTTPRequestOperation. So, how can I achieve same result with AFHTTPSessionManager?
I think what you are looking for is this ,
Also take a look at this migration guide which will help you greatly https://github.com/AFNetworking/AFNetworking/wiki/AFNetworking-3.0-Migration-Guide