BNCNetworkServiceProtocol
@protocol BNCNetworkServiceProtocol <NSObject>
The BNCNetworkServiceProtocol defines a network service that handles a queue of network
operations.
-
Undocumented
Declaration
Objective-C
- (id<BNCNetworkServiceProtocol>) init;Swift
init() -
Undocumented
Declaration
Objective-C
- (void) cancelAllOperations;Swift
optional func cancelAllOperations() -
Undocumented
Declaration
Objective-C
- (id<BNCNetworkOperationProtocol>) networkOperationWithURLRequest:(NSMutableURLRequest*)request completion:(void (^)(id<BNCNetworkOperationProtocol>operation))completion;Swift
func networkOperation(with request: NSMutableURLRequest, completion: @escaping (BNCNetworkOperationProtocol) -> Void) -> BNCNetworkOperationProtocol -
Undocumented
Declaration
Objective-C
- (NSError*_Nullable) pinSessionToPublicSecKeyRefs:(NSArray/* <SecKeyRef> */*_Nullable)publicKeys;Swift
optional func pinSession(toPublicSecKeyRefs publicKeys: [Any]?) -> Error?
View on GitHub
BNCNetworkServiceProtocol Protocol Reference