Simple Http client (Use RxSwift for stream data)
By default HttpClient caches only GET requests. This option allows to cache specific request types:
CacheMode(cacheResponse: true, returnCachedResponse: true, invokeRequest: true, cacheHttpMethods: [.get, .post, .put])
HttpClient now can be initialized with custom implementation of NSURLSessionDataEventsObserverType (which is derived from URLSessionDataDelegate) in order to allow additional customization.
View build details and download artifacts on buddybuild: RxHttpClient (iOS, RxHttpClient)
Add RequestPluginType protocol that receives callbacks from HttpClient and StreamDataTask. Only one plugin now available: NetworkActivityIndicatorPlugin (shows network activity if there is active network request).
Update RxSwift dependency to 3.1.0. Small changes in readme.
Add ability to customize HTTP method of the request and send HTTP body.
HttpClient now able to cache GET response and return cached data immediately on next request (if needed). Also MimeTypeConverter slightly refactored.
Project converted to Swift 3.0