Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
webservice_rest_test_client Class Reference

REST test client class. More...

Inheritance diagram for webservice_rest_test_client:

Public Member Functions

 simpletest ($serverurl, $function, $params)
 Execute test client WS request.
 

Detailed Description

REST test client class.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ simpletest()

webservice_rest_test_client::simpletest ( $serverurl,
$function,
$params )

Execute test client WS request.

Parameters
string$serverurlserver url (including token parameter or username/password parameters)
string$functionfunction name
array$paramsparameters of the called function
Return values
mixed

Implements webservice_test_client_interface.


The documentation for this class was generated from the following file: