Свойство | Тип | Описание | |
---|---|---|---|
BuildHeaders | void | ||
ExponentialBackoff | bool |
Метод | Описание | |
---|---|---|
Delete ( string url, |
Issues a DELETE request
|
|
Get ( string url, |
Issues a GET request
|
|
IronClient ( string name, string version, string product, string host = null, int port, string projectId = null, string token = null, string protocol = null, int apiVersion, string configFile = null ) : System |
Initializes a new instance of the IronClient class.
|
|
Post ( string url, string body = "", |
Issues a POST request
|
|
Put ( string url, string body = "", |
Issues a PUT request
|
|
Request ( string url, string method, string body = null, |
Issues a generic request
|
Метод | Описание | |
---|---|---|
BuildHeaders ( ) : void |
Internal utility function to build headers
|
|
ExponentialBackoff ( |
Implements exponential back off source: http://aws.amazon.com/articles/1394
|
public Delete ( string url, |
||
url | string | Url to issues the request to |
headers | Additional header information | |
retry | bool | Retry if unsuccessful |
Результат | string |
public Get ( string url, |
||
url | string | Url to issues the request to |
headers | Additional header information | |
retry | bool | Retry if unsuccessful |
Результат | string |
public IronClient ( string name, string version, string product, string host = null, int port, string projectId = null, string token = null, string protocol = null, int apiVersion, string configFile = null ) : System | ||
name | string | Client name |
version | string | Version of the client |
product | string | Iron.io product |
host | string | hostname to use |
port | int | port number |
projectId | string | Project identifier available from the HUD |
token | string | Token available from the HUD |
protocol | string | Protocol e.g. http https |
apiVersion | int | Version of the API to use (1,2) |
configFile | string | Path to a specific JSON configuration file to load |
Результат | System |
public Post ( string url, string body = "", |
||
url | string | Url to issues the request to |
body | string | Data to send |
headers | Additional header information | |
retry | bool | Retry if unsuccessful |
Результат | string |
public Put ( string url, string body = "", |
||
url | string | Url to issues the request to |
body | string | Data to send |
headers | Additional header information | |
retry | bool | Retry if unsuccessful |
Результат | string |
public Request ( string url, string method, string body = null, |
||
url | string | Url to issues the request to |
method | string | Http METHOD to use |
body | string | Data to send |
headers | Additional header information | |
retry | bool | Retry if unsuccessful |
Результат | string |