mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-04 10:11:30 +08:00
RKResponse should start loading on didReceiveData: or didSendBodyData, whichever is called first.
This prevents didSendData RKRequestDelegate method from being called before didStartLoading. Remove goOffline and goOnline support from RKObjectManager. This did not work in the current implementation.
This commit is contained in:
@@ -32,7 +32,6 @@ typedef enum {
|
||||
NSObject<RKRouter>* _router;
|
||||
RKManagedObjectStore* _objectStore;
|
||||
RKObjectManagerOnlineState _onlineState;
|
||||
BOOL _onlineStateForced;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -75,16 +74,6 @@ typedef enum {
|
||||
*/
|
||||
@property (nonatomic, retain) RKClient* client;
|
||||
|
||||
/**
|
||||
* Puts the manager into offline mode. Requests will not be sent.
|
||||
*/
|
||||
- (void)goOffline;
|
||||
|
||||
/**
|
||||
* Puts the manager into online mode. Requests will be sent.
|
||||
*/
|
||||
- (void)goOnline;
|
||||
|
||||
/**
|
||||
* True when we are in online mode
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user