C# Class Mite.DefaultWebAdapter

Base class of all mite connectors
Inheritance: IWebAdapter
Afficher le fichier Open project: ccellar/mite.net

Méthodes publiques

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

Méthode Description
CreateRequest ( string url ) : HttpWebRequest

Method Details

SendDeleteRequest() public méthode

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

SendGetRequest() public méthode

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

SendPostRequest() public méthode

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

SendPostRequest() public méthode

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.
Résultat string

SendPutRequest() public méthode

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.
Résultat string