Class: ConnectionRequest

ConnectionRequest()

new ConnectionRequest()

The connection request class handles the sending of a single command to the server, generating the request XML and handling the response (via ConnectionResponse class), providing it back to the Connection class. Instances of the class should NEVER be created directly. The intended use is only to create them via the methods of the Connection class. It is its responsibility to create a connection request object and manage it. The only real external use of this class is to cancel a request via the cancel method.

ConnectionRequest()

new ConnectionRequest()

Properties:
Name Type Description
params Object All the params that need to be sent to the server
options Object Options needed for custom logic before sending the connection request
response Object Response of the connection request
cancel Object Cancel the connection request