MediaWiki  1.30.0
MediaWikiPageNameNormalizerTestMockHttp Class Reference
Inheritance diagram for MediaWikiPageNameNormalizerTestMockHttp:
Collaboration diagram for MediaWikiPageNameNormalizerTestMockHttp:

Static Public Member Functions

static get ( $url, $options=[], $caller=__METHOD__)
 Simple wrapper for Http::request( 'GET' ) More...
 
- Static Public Member Functions inherited from Http
static createMultiClient ( $options=[])
 Get a configured MultiHttpClient. More...
 
static getProxy ()
 Gets the relevant proxy from $wgHTTPProxy. More...
 
static isValidURI ( $uri)
 Checks that the given URI is a valid one. More...
 
static post ( $url, $options=[], $caller=__METHOD__)
 Simple wrapper for Http::request( 'POST' ) More...
 
static request ( $method, $url, $options=[], $caller=__METHOD__)
 Perform an HTTP request. More...
 
static userAgent ()
 A standard user-agent we can use for external requests. More...
 

Static Public Attributes

static mixed $response
 
- Static Public Attributes inherited from Http
static $httpEngine = false
 

Detailed Description

Access:\n private
See also
Http

Definition at line 101 of file MediaWikiPageNameNormalizerTest.php.

Member Function Documentation

◆ get()

static MediaWikiPageNameNormalizerTestMockHttp::get (   $url,
  $options = [],
  $caller = __METHOD__ 
)
static

Simple wrapper for Http::request( 'GET' )

See also
Http::request()
Since
1.25 Second parameter $timeout removed. Second parameter is now $options which can be given a 'timeout'
Parameters
string$url
array$options
string$callerThe method making this request, for profiling
Returns
string|bool false on error

Reimplemented from Http.

Definition at line 108 of file MediaWikiPageNameNormalizerTest.php.

References $options, and $response.

Member Data Documentation

◆ $response

mixed MediaWikiPageNameNormalizerTestMockHttp::$response
static

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