Moodle PHP Documentation 4.2
Moodle 4.2.8 (Build: 20240610) (2d41ac46f45)
webservice_rest_test_client Class Reference

REST test client class. More...

Inheritance diagram for webservice_rest_test_client:
webservice_test_client_interface

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: