WikiLambda
MediaWiki WikiLambda extension
Loading...
Searching...
No Matches
MediaWiki\Extension\WikiLambda\OrchestratorRequest Class Reference

@codeCoverageIgnore More...

+ Collaboration diagram for MediaWiki\Extension\WikiLambda\OrchestratorRequest:

Public Member Functions

 __construct (ClientInterface $client)
 
 orchestrate ( $query, $bypassCache=false)
 
 getSupportedProgrammingLanguages ()
 

Protected Attributes

Client $guzzleClient
 
string $userAgentString
 
BagOStuff $objectCache
 

Detailed Description

@codeCoverageIgnore

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::__construct ( ClientInterface $client)
Parameters
ClientInterface$clientGuzzleHttp Client used for requests
+ Here is the call graph for this function:

Member Function Documentation

◆ getSupportedProgrammingLanguages()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::getSupportedProgrammingLanguages ( )
Returns
ResponseInterface response object returned by orchestrator

◆ orchestrate()

MediaWiki\Extension\WikiLambda\OrchestratorRequest::orchestrate ( $query,
$bypassCache = false )
Parameters
\stdClass | array$query
bool$bypassCacheWhether to bypass the function call cache; this is only to be used for special circumstances, as it's potentially expensive.
Returns
string response object returned by orchestrator, down-cast to a string

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