Watson Developer Cloud Unity SDK  1.0.0
The Unity SDK uses the Watson Developer Cloud services, a collection of REST APIs and SDKs that use cognitive computing to solve complex problems.
IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request Class Reference

This class is created to make a request to send to the server. More...

Inheritance diagram for IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request:
IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.CombinedCallRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.DetectFeedsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetAuthorsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetDatesRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetEmotionsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetEntitiesRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetKeywordsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetLanguagesRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetMicroformatsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetNewsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetPublicationDateRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetRankedConceptsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetRankedTaxomomyRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetRelationsRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetTargetedSentimentRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetTextRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetTextSentimentRequest IBM.Watson.DeveloperCloud.Services.AlchemyAPI.v1.AlchemyAPI.GetTitleRequest IBM.Watson.DeveloperCloud.Services.PersonalityInsights.v3.PersonalityInsights.GetProfileRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.CollectionRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.CreateClusterRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.CreateRankerRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.DeleteClusterConfigRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.DeleteClusterRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.DeleteRankerRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.GetClusterConfigsRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.GetClusterRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.GetClustersRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.GetRankerRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.GetRankersRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.IndexDocumentsRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.RankRequest IBM.Watson.DeveloperCloud.Services.RetrieveAndRank.v1.RetrieveAndRank.SearchRequest IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.ClassifyReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.DeleteClassifierReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.DetectFacesReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.GetClassifierReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.GetClassifiersReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.RecognizeTextReq IBM.Watson.DeveloperCloud.Services.VisualRecognition.v3.VisualRecognition.TrainClassifierReq

Public Member Functions

 Request ()
 Default constructor. More...
 

Properties

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, FormForms [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...
 

Detailed Description

This class is created to make a request to send to the server.

Constructor & Destructor Documentation

IBM.Watson.DeveloperCloud.Connection.RESTConnector.Request.Request ( )
inline

Default constructor.

Property Documentation

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: