FWRequestAccessory
@protocol FWRequestAccessory <NSObject>
The FWRequestAccessory protocol defines several optional methods that can be used to track the status of a request. Objects that conforms this protocol (“accessories”) can perform additional configurations accordingly. All the accessory methods will be called on the main queue.
-
Inform the accessory that the request is about to start.
Declaration
Objective-C
- (void)requestWillStart:(nonnull id)request;
Parameters
request
The corresponding request.
-
Inform the accessory that the request is about to stop. This method is called before executing
requestFinished
andsuccessCompletionBlock
.Declaration
Objective-C
- (void)requestWillStop:(nonnull id)request;
Parameters
request
The corresponding request.
-
Inform the accessory that the request has already stoped. This method is called after executing
requestFinished
andsuccessCompletionBlock
.Declaration
Objective-C
- (void)requestDidStop:(nonnull id)request;
Parameters
request
The corresponding request.