C# Class 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
Inheritance: IRESTInterface
Afficher le fichier Open project: franzinc/agraph-csharp-client Class Usage Examples

Méthodes publiques

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

Method Details

JSONRequest() public méthode

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
Résultat List

StandardRequest() public méthode

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
Résultat List

makeHttpRequest() public méthode

Generate a HTTP Request object with the specified options
public makeHttpRequest ( string method, string url, List options ) : HttpWebRequest
method string
url string
options List
Résultat System.Net.HttpWebRequest

makeRequest() public méthode

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
Résultat List