freshOS / ws-deprecated

⚠️ Deprecated - (in favour of Networking) :cloud: Elegantly connect to a JSON api. (Alamofire + Promises + JSON Parsing)
MIT License
353 stars 32 forks source link

Allow configuration of a custom SessionManager #67

Closed brian-dlee closed 4 years ago

brian-dlee commented 5 years ago

I need to implement custom certificate/trust policies, and I didn't see a way to do it in the current implementation. This should allow any sort of customization in the way the session is handled for a configured ws object.

alladinian commented 4 years ago

This is something that I always override myself too (a lot of staging environments have self-signed certificates), so it would be super nice if it could be merged in the package.

s4cha commented 4 years ago

@brian-dlee This is a very nice addition 👍. Thank you so much for taking the time to share it for the rest of us :)