C# Class Jbe.NewsReader.ExternalServices.WebStorageService

Inheritance: IWebStorageService
显示文件 Open project: jbe2277/waf

Public Methods

Method Description
DownloadFileAsync ( string fileName, Stream destination, string token ) : Task
UploadFileAsync ( Stream source, string fileName, string token ) : System.Threading.Tasks.Task

Private Methods

Method Description
CreateClient ( string token ) : HttpClient

Method Details

DownloadFileAsync() public method

public DownloadFileAsync ( string fileName, Stream destination, string token ) : Task
fileName string
destination Stream
token string
return Task

UploadFileAsync() public method

public UploadFileAsync ( Stream source, string fileName, string token ) : System.Threading.Tasks.Task
source Stream
fileName string
token string
return System.Threading.Tasks.Task