FWChainRequestDelegate

@protocol FWChainRequestDelegate <NSObject>

The FWChainRequestDelegate 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 chain request finishes.

  • Tell the delegate that the chain request has finished successfully.

    Declaration

    Objective-C

    - (void)chainRequestFinished:(nonnull FWChainRequest *)chainRequest;

    Parameters

    chainRequest

    The corresponding chain request.

  • Tell the delegate that the chain request has failed.

    Declaration

    Objective-C

    - (void)chainRequestFailed:(nonnull FWChainRequest *)chainRequest;

    Parameters

    chainRequest

    The corresponding chain request.