icykey

Results 8 comments of icykey

Doesn't seem to be working with objective C?

how do I get pass the SSL error on local server? NSURLConnection/CFURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9843)

self.socket = [[SocketIOClient alloc] initWithSocketURL:@"https://localhost:443" options:params]; I am running the server locally, with the real certificates, so it fails validation on domain not matching. I guess my question is ,...

Thank you! I did try using the sessionDelegate option, [parameter setObject:self forKey:@"sessionDelegate"]; ``` - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler { completionHandler(NSURLSessionAuthChallengeUseCredential, [NSURLCredential credentialForTrust:challenge.protectionSpace.serverTrust]); }...

This may be off topic, but while working with sessionDelegate option... in order to support global cache, cookie and credential storage objects. The NSURLSession Configuration needs to be created with...

In my application, user authentication happens separate from "socket connect", with defaultSessionConfiguration I am able to rely on the cached cookie to authenticate user on socket connection. Same as the...

Yes, the above change will work. Can we consider merge this change in? thanks.