objective c - Restkit equivalent of `[NSMutableURLRequest HTTPShouldHandleCookies]` -
I have two pieces of software with a different approach:
-
NSMutableURLRequest Using
- 1. In I have the following line:
request HTTPSHoldHandleKooks = no; Since "approach 1. " works fine, now I am looking for the approach of using the rest of the circuit.
[NSHTTPCookieStorage sharedHTTPCookieStorage] like:
NSHTTPCookieStorage * cookieStorage = [NSHTTPCookieStorage] when I all get cookies Delete same behavior sharedHTTPCookieStorage ]; For (cookie cookies cookieStorage.cookies) {{cookies remove cookies cookies: cookies}; }
However, this removes all cookies system-wide , so I'm signed out of affected websites in my browser.
I now
with HTTPShouldHandleCookies a way to get the equivalent of is exploring
Update :
I am using RestKit as:
[Manager putObject: myObject path: path parameter: zero breakthrough: zero];
NSHTTPCookieStorage , you are in front of each cookie can ask to delete it (
domain /
name using ) are the ways you can only filter Dilishns for the same domain in which you're interested. using
Restkit, you can use
RKObjectManager to
NSURLRequest
requestWithObject: method: path: using the following criteria: (or one of the related approaches), and after that you can modify your request and action (potentially using restructuring operations).
- 1. In I have the following line:
ब्लॉक करें यदि कथन c प्रोग्राम
ReplyDeleteBlock if else statement