RBNetworkOperation Class Reference
Inherits from | RBOperation : NSOperation |
---|---|
Declared in | RBNetworkOperation.h |
observers
A collection of observers that implement RBNetworkOperationDelegate
to receive delegate updates.
@property (nonatomic, readonly, nonnull) RBObserverCollection *observers
Discussion
A collection of observers that implement RBNetworkOperationDelegate
to receive delegate updates.
Declared In
RBNetworkOperation.h
request
The underlying request object.
@property (nonatomic, readonly, nonnull) NSURLRequest *request
Discussion
The underlying request object.
Declared In
RBNetworkOperation.h
response
The underlying response object, nil
until completion.
@property (nonatomic, readonly, nullable) RBNetworkResponse *response
Discussion
The underlying response object, nil
until completion.
Declared In
RBNetworkOperation.h
requestCounter
The number of requests that are interested in the result of this operation.
@property (atomic) unsigned int requestCounter
Discussion
The number of requests that are interested in the result of this operation.
Declared In
RBNetworkOperation.h
– initWithRequest:
Initializes a new network operation.
- (nonnull instancetype)initWithRequest:(nonnull NSURLRequest *)request
Parameters
request |
The underlying request to be performed. |
---|
Return Value
The initialized network operation.
Discussion
Initializes a new network operation.
Declared In
RBNetworkOperation.h