C# Класс EpLibrary.cs.WebRequestEx

WebRequestEx class
Показать файл Открыть проект

Открытые методы

Метод Описание
DownloadDataAsync ( String uri, Action callbackFunc ) : void

Download data from given uri and call callback

DownloadFile ( String uri, String filepath, int waitTimeInMilliSec = Timeout.Infinite ) : void

Download file from given uri to given filepath

DownloadFileAsync ( String uri, String filepath, Action callbackFunc ) : void

Download file from given uri to given filepath and call callback

GetResponse ( String uri, ICredentials credentials = null, int waitTimeInMilliSec = Timeout.Infinite ) : String

Get response from the given uri with given credentials

GetResponseAsync ( String uri, Action callbackFunc, ICredentials credentials = null ) : void

Get response from the given uri with given credentials

Описание методов

DownloadDataAsync() публичный статический Метод

Download data from given uri and call callback
public static DownloadDataAsync ( String uri, Action callbackFunc ) : void
uri String uri
callbackFunc Action callback function
Результат void

DownloadFile() публичный статический Метод

Download file from given uri to given filepath
public static DownloadFile ( String uri, String filepath, int waitTimeInMilliSec = Timeout.Infinite ) : void
uri String uri
filepath String filepath
waitTimeInMilliSec int wait time in milliseconds
Результат void

DownloadFileAsync() публичный статический Метод

Download file from given uri to given filepath and call callback
public static DownloadFileAsync ( String uri, String filepath, Action callbackFunc ) : void
uri String uril
filepath String filepath
callbackFunc Action callback function
Результат void

GetResponse() публичный статический Метод

Get response from the given uri with given credentials
public static GetResponse ( String uri, ICredentials credentials = null, int waitTimeInMilliSec = Timeout.Infinite ) : String
uri String uri
credentials ICredentials credentials
waitTimeInMilliSec int wait time in milliseconds
Результат String

GetResponseAsync() публичный статический Метод

Get response from the given uri with given credentials
public static GetResponseAsync ( String uri, Action callbackFunc, ICredentials credentials = null ) : void
uri String uri
callbackFunc Action callback function
credentials ICredentials credentials
Результат void