Click or drag to resize

RESTConnector Class

REST connector class.
Inheritance Hierarchy
SystemObject
  IBM.Watson.DeveloperCloud.ConnectionRESTConnector

Namespace:  IBM.Watson.DeveloperCloud.Connection
Assembly:  unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class RESTConnector

The RESTConnector type exposes the following members.

Constructors
  NameDescription
Public methodRESTConnector
Initializes a new instance of the RESTConnector class
Top
Properties
  NameDescription
Public propertyAuthentication
Credentials used to authenticate with the server.
Public propertyHeaders
Additional headers to attach to all requests.
Public propertyStatic memberLogResponseTime
Specify a time to log to the logging system when a response takes longer than this amount.
Public propertyURL
Base URL for REST requests.
Top
Methods
  NameDescription
Public methodStatic memberGetConnector
This function returns a RESTConnector object for the given service and function.
Public methodStatic memberGetResponseCode
Public methodStatic memberParseResponseCode
Public methodSend
Send a request to the server. The request contains a callback that is invoked when a response is received. The request may be queued if multiple requests are made at once.
Top
Fields
See Also