MediaWiki REL1_37
MediaWiki\Shell\ShellboxHttpClient Class Reference

The MediaWiki-specific implementation of a Shellbox HTTP client. More...

Inheritance diagram for MediaWiki\Shell\ShellboxHttpClient:
Collaboration diagram for MediaWiki\Shell\ShellboxHttpClient:

Public Member Functions

 __construct (HttpRequestFactory $requestFactory, $timeout)
 

Protected Member Functions

 createClient (RequestInterface $request)
 
 modifyRequest (RequestInterface $request)
 

Private Attributes

HttpRequestFactory $requestFactory
 
int float $timeout
 Timeout in seconds.
 

Detailed Description

The MediaWiki-specific implementation of a Shellbox HTTP client.

Definition at line 12 of file ShellboxHttpClient.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Shell\ShellboxHttpClient::__construct ( HttpRequestFactory  $requestFactory,
  $timeout 
)
Parameters
HttpRequestFactory$requestFactory
int | float$timeout

Definition at line 22 of file ShellboxHttpClient.php.

References MediaWiki\Shell\ShellboxHttpClient\$requestFactory, and MediaWiki\Shell\ShellboxHttpClient\$timeout.

Member Function Documentation

◆ createClient()

MediaWiki\Shell\ShellboxHttpClient::createClient ( RequestInterface  $request)
protected

Definition at line 32 of file ShellboxHttpClient.php.

◆ modifyRequest()

MediaWiki\Shell\ShellboxHttpClient::modifyRequest ( RequestInterface  $request)
protected

Definition at line 27 of file ShellboxHttpClient.php.

Member Data Documentation

◆ $requestFactory

HttpRequestFactory MediaWiki\Shell\ShellboxHttpClient::$requestFactory
private

◆ $timeout

int float MediaWiki\Shell\ShellboxHttpClient::$timeout
private

Timeout in seconds.

Definition at line 16 of file ShellboxHttpClient.php.

Referenced by MediaWiki\Shell\ShellboxHttpClient\__construct().


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