C# Class ThoughtWorksCoreLib.AuthenticatingWeb

Inheritance: IWeb
Afficher le fichier Open project: ThoughtWorksStudios/mingle.net Class Usage Examples

Méthodes publiques

Méthode Description
AuthenticatingWeb ( string login, string password ) : System

Constructs an AutnenticatingWeb that is used to wrap an HttpWebRequest with authentication

Delete ( string url ) : IResponse

Performns a DELETE and returns HttpWebResponse

Get ( string url ) : IResponse

Performns a GET and returns HttpWebResponse

Get ( string url, IEnumerable data ) : IResponse

Performns a GET and returns HttpWebResponse

Post ( string url, IEnumerable data ) : IResponse

Performns a POST and returns HttpWebResponse

Put ( string url, IEnumerable data ) : IResponse

Performns a PUT and returns HttpWebResponse

Private Methods

Méthode Description
Authenticate ( HttpWebRequest request ) : void

Add credentials to the request

Method Details

AuthenticatingWeb() public méthode

Constructs an AutnenticatingWeb that is used to wrap an HttpWebRequest with authentication
public AuthenticatingWeb ( string login, string password ) : System
login string
password string
Résultat System

Delete() public méthode

Performns a DELETE and returns HttpWebResponse
public Delete ( string url ) : IResponse
url string
Résultat IResponse

Get() public méthode

Performns a GET and returns HttpWebResponse
public Get ( string url ) : IResponse
url string
Résultat IResponse

Get() public méthode

Performns a GET and returns HttpWebResponse
public Get ( string url, IEnumerable data ) : IResponse
url string
data IEnumerable
Résultat IResponse

Post() public méthode

Performns a POST and returns HttpWebResponse
public Post ( string url, IEnumerable data ) : IResponse
url string
data IEnumerable
Résultat IResponse

Put() public méthode

Performns a PUT and returns HttpWebResponse
public Put ( string url, IEnumerable data ) : IResponse
url string
data IEnumerable
Résultat IResponse