C# Class EDCompanionAPI.HttpHelper

Datei anzeigen Open project: Duke-Jones/ED-IBE Class Usage Examples

Public Methods

Method Description
Get ( string url, NameValueCollection query ) : HttpWebResponse
HttpHelper ( Profile profile ) : System.Collections.Specialized
Post ( string url, NameValueCollection data = null, bool urlAsReferrer = false ) : HttpWebResponse

Private Methods

Method Description
GetRequest ( string url ) : HttpWebRequest
UpdateCookies ( HttpWebResponse response ) : void

Method Details

Get() public method

public Get ( string url, NameValueCollection query ) : HttpWebResponse
url string
query System.Collections.Specialized.NameValueCollection
return System.Net.HttpWebResponse

HttpHelper() public method

public HttpHelper ( Profile profile ) : System.Collections.Specialized
profile EDCompanionAPI.Models.Profile
return System.Collections.Specialized

Post() public method

public Post ( string url, NameValueCollection data = null, bool urlAsReferrer = false ) : HttpWebResponse
url string
data System.Collections.Specialized.NameValueCollection
urlAsReferrer bool
return System.Net.HttpWebResponse