RBNetworkOperationDelegate Protocol Reference

Conforms to NSObject
Declared in RBNetworkOperation.h

Overview

A delegate to be notified of status updates to the network operation.

– networkOperation:hasResponse: required method

The network operation did complete.

- (void)networkOperation:(nonnull RBNetworkOperation *)networkOperation hasResponse:(nonnull RBNetworkResponse *)response

Parameters

networkOperation

The network operation object.

response

The resulting response object.

Discussion

The network operation did complete.

Declared In

RBNetworkOperation.h

– networkOperation:beganReceivingResponse:willReceiveProgressUpdates: required method

The network operation did begin receiving the response.

- (void)networkOperation:(nonnull RBNetworkOperation *)networkOperation beganReceivingResponse:(nonnull NSHTTPURLResponse *)response willReceiveProgressUpdates:(BOOL)willReceiveProgressUpdates

Parameters

networkOperation

The network operation object.

response

The HTTP header response that was received.

willReceiveProgressUpdates

Whether or not progress updates will be forthcoming.

Discussion

The network operation did begin receiving the response.

Declared In

RBNetworkOperation.h

– networkOperation:hasProgress: required method

The network operation did update its progress in receiving the response.

- (void)networkOperation:(nonnull RBNetworkOperation *)networkOperation hasProgress:(float)progress

Parameters

networkOperation

The network operation object.

progress

The current progress from 0 to 1 of receiving the response.

Discussion

The network operation did update its progress in receiving the response.

Declared In

RBNetworkOperation.h