:Read() - Captures the results stream from the remote Server
Class
Syntax
:Read( [nReturnType], [lShowProgress], [hSession] ) --> acResults
Parameters
|
|
nReturnType |
Optional: Numeric Constant (or value) indicating Return Type RETURN_DEFAULT (0) Return Value acResults is in the form of a String. RETURN_ARRAY (1) Return Value acResults is in the form of an Array. |
|
|
lShowProgress |
Optional: if TRUE, Shows a Status of the results as it is being built. |
|
|
hSession |
Optional: If hSession is not passed, the value in :Session will be used |
Return
acResults contains the response from the last call to the remote server.
Description
The :Read() Method reads data from the specified client socket. An example request would be the :User() Method.
The :User() Method sends the specified username to the remote server, which then returns information about the given user.
To read the information returned by the server, the :Read() Method should be used.
See Also