Interface IContentDownloader
Provides methods for downloading remote content files.
Namespace: VersOne.Epub.Environment
Assembly: VersOne.Epub.dll
Syntax
public interface IContentDownloader
Methods
View SourceDownloadAsync(string, string)
Starts downloading the remote content file.
Declaration
Task<Stream> DownloadAsync(string url, string userAgent)
Parameters
Type | Name | Description |
---|---|---|
string | url | The absolute URI of the remote content file. |
string | userAgent | The value for the |
Returns
Type | Description |
---|---|
Task<Stream> | A task that represents the asynchronous download operation. The value of the TResult parameter contains the readable stream for the content of the remote content file. |