Files
Sparkle/TemporaryDownloader/SUTemporaryDownloaderProtocol.h
T
2016-08-05 19:10:21 -04:00

23 lines
609 B
Objective-C

//
// SUTemporaryDownloaderProtocol.h
// TemporaryDownloader
//
// Created by Mayur Pawashe on 4/1/16.
// Copyright © 2016 Sparkle Project. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class SPUURLRequest;
// The protocol that this service will vend as its API. This header file will also need to be visible to the process hosting the service.
@protocol SUTemporaryDownloaderProtocol
- (void)startDownloadWithRequest:(SPUURLRequest *)request completion:(void (^)(NSData * _Nullable data, NSError * _Nullable error))completionBlock;
@end
NS_ASSUME_NONNULL_END