mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
23 lines
609 B
Objective-C
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
|