Helper methods for downloading binary files. More...
Instance Methods | |
(instancetype) | - init |
Class Methods | |
(FMLiveSwitchFuture< FMLiveSwitchDataBuffer * > *) | + downloadFileWithUrl: |
Downloads a file from the url. More... | |
(FMLiveSwitchFuture< id > *) | + downloadFileWithUrl:filePath: |
Downloads a file from the url. More... | |
(FMLiveSwitchHttpFileTransfer *) | + httpFileTransfer |
Helper methods for downloading binary files.
+ (FMLiveSwitchFuture<FMLiveSwitchDataBuffer*>*) downloadFileWithUrl: | (NSString *) | url |
Downloads a file from the url.
Decompresses using BZip2 if needed.
url | The URL. |
+ (FMLiveSwitchFuture<id>*) downloadFileWithUrl: | (NSString *) | url | |
filePath: | (NSString *) | filePath | |
Downloads a file from the url.
Decompresses using BZip2 if needed. Then saves to the file system at filePath.
url | The URL. |
filePath | The file path. |
+ (FMLiveSwitchHttpFileTransfer*) httpFileTransfer |
- (instancetype) init |