how can i convert NSURLRequest to NSString ?
Depends on the information you want in the string. Do you want to have it contain all the values of the instance variables in the object? If so, you're going to need to write your own method that does that. Perhaps subclass NSURLRequest
and override description
. You could also use reflection to get at all the private ivars and print everything out from another class.
Or just use a debugger to inspect the values.