Is it possible to modify the properties of the configuration object returned by 
[NSURLSessionConfiguration defaultSessionConfiguration]? The docs are unclear, 
but I’m assuming that the method returns a new instance every time, not a 
singleton, so just modifying the object wouldn’t work.

I want to do this because I need a way to register an NSURLProtocol with every 
NSURLSession in the process, not just the default one, and I don’t control the 
code that configures or creates the session (it’s inside React-Native*.)

—Jens

* 
https://github.com/facebook/react-native/blob/235b16d93287061a09c4624e612b5dc4f960ce47/Libraries/Network/RCTHTTPRequestHandler.m#L50-L72
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to