C# Class EDCompanionAPI.HttpHelper

Afficher le fichier Open project: Duke-Jones/ED-IBE Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetRequest ( string url ) : HttpWebRequest
UpdateCookies ( HttpWebResponse response ) : void

Method Details

Get() public méthode

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

HttpHelper() public méthode

public HttpHelper ( Profile profile ) : System.Collections.Specialized
profile EDCompanionAPI.Models.Profile
Résultat System.Collections.Specialized

Post() public méthode

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