C# Класс AllegroGraphCSharpClient.Request

Class to handle the actual communication to the server WCF compatible, so if you use WCF, then you will always need to pass the url to every function Otherwise, you can set it using the constructor
Наследование: IRESTInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
JSONRequest ( string method, string url, List options, string contentType ) : List

Performs a JSON based REST request

StandardRequest ( string method, string url, List options, string contentType ) : List

Most common way to talk to the server

makeHttpRequest ( string method, string url, List options ) : HttpWebRequest

Generate a HTTP Request object with the specified options

makeRequest ( string method, string url, List options, string ContentType, string accept ) : List

Performs a basic REST operation

Описание методов

JSONRequest() публичный Метод

Performs a JSON based REST request
public JSONRequest ( string method, string url, List options, string contentType ) : List
method string
url string
options List
contentType string
Результат List

StandardRequest() публичный Метод

Most common way to talk to the server
public StandardRequest ( string method, string url, List options, string contentType ) : List
method string
url string
options List
contentType string
Результат List

makeHttpRequest() публичный Метод

Generate a HTTP Request object with the specified options
public makeHttpRequest ( string method, string url, List options ) : HttpWebRequest
method string
url string
options List
Результат System.Net.HttpWebRequest

makeRequest() публичный Метод

Performs a basic REST operation
public makeRequest ( string method, string url, List options, string ContentType, string accept ) : List
method string
url string
options List
ContentType string
accept string
Результат List