You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to hit a server which sits in the dmz and asks for a certificate. It sends out a challenge in the initial http request. I supply the certificate for the NSURLSession. The code I use for AFNetworking on my REST calls to send the cert is here:
Is it possible to send this through the SwiftPhoenix client and, if so, where is the point where I could insert it? I know websocket makes an initial http call to connect, and I'm looking for that particular point in the code (I'm assuming it's using a NSURLSession to connect!)
I don't think the above is certificate pinning, but I could be wrong.
Thanks for any help.
The text was updated successfully, but these errors were encountered:
The URLSession used to create the websocket task is found here. I'm not sure exactly what API you would need to accomplish what you're trying to do but you can extend the URLSessionTransport class, override the connect method, and provide your own implementation that should work for you. You can then provide your custom implementation of Transport when you create the `Socket
I'm trying to hit a server which sits in the dmz and asks for a certificate. It sends out a challenge in the initial http request. I supply the certificate for the NSURLSession. The code I use for AFNetworking on my REST calls to send the cert is here:
Is it possible to send this through the SwiftPhoenix client and, if so, where is the point where I could insert it? I know websocket makes an initial http call to connect, and I'm looking for that particular point in the code (I'm assuming it's using a NSURLSession to connect!)
I don't think the above is certificate pinning, but I could be wrong.
Thanks for any help.
The text was updated successfully, but these errors were encountered: