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
显示文件 Open project: franzinc/agraph-csharp-client Class Usage Examples

Public Methods

Method 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 method

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
return List

StandardRequest() public method

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
return List

makeHttpRequest() public method

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

makeRequest() public method

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
return List