C# 클래스 EpLibrary.cs.WebRequestEx

WebRequestEx class
파일 보기 프로젝트 열기: juhgiyo/EpLibrary.cs

공개 메소드들

메소드 설명
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