Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
|
Static Public Member Functions | |
static | createRequestUri ($servicePath, $restPath, $params) |
Parse/expand request parameters and create a fully qualified request uri. | |
static | decodeHttpResponse ($response, Google_Client $client=null) |
Decode an HTTP Response. | |
static | doExecute (Google_Client $client, Google_Http_Request $req) |
Executes a Google_Http_Request. | |
static | execute (Google_Client $client, Google_Http_Request $req) |
Executes a Google_Http_Request and (if applicable) automatically retries when errors occur. | |
|
static |
Parse/expand request parameters and create a fully qualified request uri.
string | $servicePath | |
string | $restPath | |
array | $params |
string\$requestUrl |
|
static |
Decode an HTTP Response.
Google_Service_Exception |
Google_Http_Request | $response | The http response to be decoded. |
Google_Client | $client |
mixed|null |
|
static |
Executes a Google_Http_Request.
Google_Client | $client | |
Google_Http_Request | $req |
array | decoded result |
Google_Service_Exception | on server side error (ie: not authenticated, invalid or malformed post body, invalid url) |
|
static |
Executes a Google_Http_Request and (if applicable) automatically retries when errors occur.
Google_Client | $client | |
Google_Http_Request | $req |
array | decoded result |
Google_Service_Exception | on server side error (ie: not authenticated, invalid or malformed post body, invalid url) |