This class is created to make a request to send to the server.
More...
|
float | Timeout [get, set] |
| Custom timeout for this Request. This timeout is used if this timeout is larger than the value in the Config class. More...
|
|
bool | Cancel [get, set] |
| If true, then request will be cancelled. More...
|
|
bool | Delete [get, set] |
| True to send a delete method. More...
|
|
string | Function [get, set] |
| The name of the function to invoke on the server. More...
|
|
Dictionary< string, object > | Parameters [get, set] |
| The parameters to pass to the function on the server. More...
|
|
Dictionary< string, string > | Headers [get, set] |
| Additional headers to provide in the request. More...
|
|
byte[] | Send [get, set] |
| The data to send through the connection. Do not use Forms if set. More...
|
|
Dictionary< string, Form > | Forms [get, set] |
| Multi-part form data that needs to be sent. Do not use Send if set. More...
|
|
ResponseEvent | OnResponse [get, set] |
| The callback that is invoked when a response is received. More...
|
|
ProgressEvent | OnDownloadProgress [get, set] |
| This callback is invoked to provide progress on the WWW download. More...
|
|
ProgressEvent | OnUploadProgress [get, set] |
| This callback is invoked to provide upload progress. More...
|
|
This class is created to make a request to send to the server.
IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Request |
( |
| ) |
|
|
inline |
bool IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Cancel |
|
getset |
If true, then request will be cancelled.
bool IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Delete |
|
getset |
True to send a delete method.
Dictionary<string, Form> IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Forms |
|
getset |
Multi-part form data that needs to be sent. Do not use Send if set.
string IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Function |
|
getset |
The name of the function to invoke on the server.
Dictionary<string, string> IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Headers |
|
getset |
Additional headers to provide in the request.
ProgressEvent IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.OnDownloadProgress |
|
getset |
This callback is invoked to provide progress on the WWW download.
ResponseEvent IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.OnResponse |
|
getset |
The callback that is invoked when a response is received.
ProgressEvent IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.OnUploadProgress |
|
getset |
This callback is invoked to provide upload progress.
Dictionary<string, object> IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Parameters |
|
getset |
The parameters to pass to the function on the server.
byte [] IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Send |
|
getset |
The data to send through the connection. Do not use Forms if set.
float IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Timeout |
|
getset |
Custom timeout for this Request. This timeout is used if this timeout is larger than the value in the Config class.
The documentation for this class was generated from the following file: