C# Class BaconographyW8.PlatformServices.SimpleHttpService

Inheritance: ISimpleHttpService
Show file Open project: Synergex/Baconography Class Usage Examples

Public Methods

Method Description
SendGet ( string cookie, string uri ) : Task
SendPost ( string cookie, string>.Dictionary urlEncodedData, string uri ) : Task
SendPost ( string cookie, string data, string uri ) : Task
SendPostForCookies ( string>.Dictionary urlEncodedData, string uri ) : Task>>
ThrottleRequests ( ) : System.Threading.Tasks.Task
UnAuthedGet ( System cancelToken, string uri, Action progress ) : Task
UnAuthedGet ( string uri ) : Task

Private Methods

Method Description
SendPost ( string cookie, HttpContent data, string uri ) : Task

Method Details

SendGet() public method

public SendGet ( string cookie, string uri ) : Task
cookie string
uri string
return Task

SendPost() public method

public SendPost ( string cookie, string>.Dictionary urlEncodedData, string uri ) : Task
cookie string
urlEncodedData string>.Dictionary
uri string
return Task

SendPost() public method

public SendPost ( string cookie, string data, string uri ) : Task
cookie string
data string
uri string
return Task

SendPostForCookies() public method

public SendPostForCookies ( string>.Dictionary urlEncodedData, string uri ) : Task>>
urlEncodedData string>.Dictionary
uri string
return Task>>

ThrottleRequests() public static method

public static ThrottleRequests ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

UnAuthedGet() public method

public UnAuthedGet ( System cancelToken, string uri, Action progress ) : Task
cancelToken System
uri string
progress Action
return Task

UnAuthedGet() public method

public UnAuthedGet ( string uri ) : Task
uri string
return Task