C# Class ThoughtWorksCoreLib.Web

Class implementing IWeb
Inheritance: IWeb
Show file Open project: ThoughtWorksStudios/mingle.net Class Usage Examples

Public Methods

Method Description
Delete ( string url ) : IResponse

Performns a DELETE and returns HttpWebResponse

Get ( string url ) : IResponse

Returns an HttpWebResponse

Get ( string url, IEnumerable data ) : IResponse

Returns an 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

Web ( ) : System

Constructs a new Web

Web ( Action authenticate ) : System

Performs Action on Web

Web ( Action authenticate, Action packPostData ) : System

Performs Action on Web

Private Methods

Method Description
GetResponse ( string method, string url, IEnumerable data ) : IResponse

Method Details

Delete() public method

Performns a DELETE and returns HttpWebResponse
public Delete ( string url ) : IResponse
url string
return IResponse

Get() public method

Returns an HttpWebResponse
public Get ( string url ) : IResponse
url string
return IResponse

Get() public method

Returns an HttpWebResponse
public Get ( string url, IEnumerable data ) : IResponse
url string
data IEnumerable
return IResponse

Post() public method

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

Put() public method

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

Web() public method

Constructs a new Web
public Web ( ) : System
return System

Web() public method

Performs Action on Web
public Web ( Action authenticate ) : System
authenticate Action
return System

Web() public method

Performs Action on Web
public Web ( Action authenticate, Action packPostData ) : System
authenticate Action
packPostData Action
return System