C# Class Mite.DefaultWebAdapter

Base class of all mite connectors
Inheritance: IWebAdapter
Datei anzeigen Open project: ccellar/mite.net

Public Methods

Method Description
SendDeleteRequest ( string url ) : string

Sends a HTTP delete request.

SendGetRequest ( string url ) : string

Sends a HTTP get request.

SendPostRequest ( string url ) : string

Sends a HTTP post request.

SendPostRequest ( string url, string data ) : string

Sends a HTTP post request.

SendPutRequest ( string url, string data ) : string

Sends a put request.

Private Methods

Method Description
CreateRequest ( string url ) : HttpWebRequest

Method Details

SendDeleteRequest() public method

Sends a HTTP delete request.
public SendDeleteRequest ( string url ) : string
url string The url to which the request is send.
return string

SendGetRequest() public method

Sends a HTTP get request.
public SendGetRequest ( string url ) : string
url string The url to which the request is send.
return string

SendPostRequest() public method

Sends a HTTP post request.
public SendPostRequest ( string url ) : string
url string The url to which the request is send.
return string

SendPostRequest() public method

Sends a HTTP post request.
public SendPostRequest ( string url, string data ) : string
url string The url to which the request is send.
data string The data which is posted.
return string

SendPutRequest() public method

Sends a put request.
public SendPutRequest ( string url, string data ) : string
url string The url to which the request is send.
data string The data which is put.
return string