Closed vldalx closed 7 years ago
@jordancamara Hi. Will you merge the pull request? It's a very useful feature. If you don't like the approach, let's make something else. The main idea is the library shell works with a self-signed SSL certificate.
@vldalx I will review it here shortly. Sorry, it's something I meant to get to on Friday but got lost in the kerfuffle.
This pull request is a suggestion how possible to add a self-signed certificate support. It would be nice to have that feature for a testing purpose.
How to use:
Create a
[Hub]Connection
instance and pass an AlamofireSessionManader
through a class initializer. How to connect to self-signed servers using Alamofire.Set property
webSocketAllowsSelfSignedSSL
of theConnection
instance totrue
value.