FWBatchRequestDelegate

@protocol FWBatchRequestDelegate <NSObject>

The FWBatchRequestDelegate protocol defines several optional methods you can use to receive network-related messages. All the delegate methods will be called on the main queue. Note the delegate methods will be called when all the requests of batch request finishes.

  • Tell the delegate that the batch request has finished successfully/

    Declaration

    Objective-C

    - (void)batchRequestFinished:(nonnull FWBatchRequest *)batchRequest;

    Parameters

    batchRequest

    The corresponding batch request.

  • Tell the delegate that the batch request has failed.

    Declaration

    Objective-C

    - (void)batchRequestFailed:(nonnull FWBatchRequest *)batchRequest;

    Parameters

    batchRequest

    The corresponding batch request.