You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add responseErrorFromObject to create detailed error using response object #16
Add defaultURLSession and its delegate instead of instancePair#14
Breaking changes:
API does not create singleton instances for each API subclasses.
API.instance is no longer available.
API.session is no longer available.
From 0.4.0, if an API subclass needs a separated session, defaultURLSession should be overrided.
Delegate methods for custom behaviors of NSURLSession implemented in API should be move to custom delegate class, and its instance should be a delegate of defaultURLSession.