Added a way to provide the real session to be used when an appropriate Casette is not yet present. This is useful when e.g. talking to servers that require the client responds to an authentication challenge, which NSURLSession.defaultSession() doesn't. Now you have a way to pass in your own session which responds e.g. with the right credentials, so that the first recording can go through.
Btw, great work on this framework! I really like the paradigm and we're now starting to test APIs this way in our XcodeServerSDK project. Thanks for putting this out here.
Added a way to provide the real session to be used when an appropriate
Casette
is not yet present. This is useful when e.g. talking to servers that require the client responds to an authentication challenge, whichNSURLSession.defaultSession()
doesn't. Now you have a way to pass in your own session which responds e.g. with the right credentials, so that the first recording can go through.Btw, great work on this framework! I really like the paradigm and we're now starting to test APIs this way in our
XcodeServerSDK
project. Thanks for putting this out here.