Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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: