Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | List of all members
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. More...
 

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: