vadymmarkov / Malibu

:surfer: Malibu is a networking library built on promises
https://vadymmarkov.github.io
Other
414 stars 39 forks source link

SSL Pinning #95

Closed dev4jam closed 5 years ago

dev4jam commented 6 years ago

What's the right way of setting URLCredentials for "session.configuration.urlCredentialStorage?.defaultCredential" in ssl pinning code? Who should be responsible for this part?

vadymmarkov commented 6 years ago

It's possible to create Networking with custom URLSessionConfiguration https://github.com/hyperoslo/Malibu/blob/master/Sources/Request/SessionConfiguration.swift#L7