* The parameters to pass to the server. These may be specified as a urlencoded string, or as an array containing properties which represent parameters.
* The parameters to pass to the server. These may be specified as a urlencoded string, or as an array containing properties which represent parameters.
* If true any <script> tags embedded in the response text will be extracted and executed. If this option is specified, the callback will be called after the execution of the scripts.
* If true any <script> tags embedded in the response text will be extracted and executed. If this option is specified, the callback will be called after the execution of the scripts.
* The scope in which to execute the callback (The callback's this reference.) If the params option is a function, this scope is used for that function also.
* The scope in which to execute the callback (The callback's this reference.) If the params option is a function, this scope is used for that function also.
* @param array $params The parameters to pass to the server. These may be specified as a urlencoded string, or as an array containing properties which represent parameters.
* @param boolean $scripts If true any <script> tags embedded in the response text will be extracted and executed. If this option is specified, the callback will be called after the execution of the scripts.
* @param string $method The HTTP method to use. Defaults to AUTO_LOAD_METHOD_POST if params are present, or AUTO_LOAD_METHOD_GET if not.
*/
public function __construct($url, $params = array(), $scripts = null, $method = null) {