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

Static Public Member Functions

static get ( $url, array $options=[], $caller=__METHOD__)
 Simple wrapper for Http::request( 'GET' ) More...
 
- Static Public Member Functions inherited from Http
static createMultiClient (array $options=[])
 Get a configured MultiHttpClient. More...
 
static getProxy ()
 Gets the relevant proxy from $wgHTTPProxy. More...
 
static isValidURI ( $uri)
 Check that the given URI is a valid one. More...
 
static post ( $url, array $options=[], $caller=__METHOD__)
 Simple wrapper for Http::request( 'POST' ) More...
 
static request ( $method, $url, array $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 103 of file MediaWikiPageNameNormalizerTest.php.

Member Function Documentation

◆ get()

static MediaWikiPageNameNormalizerTestMockHttp::get (   $url,
array  $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 110 of file MediaWikiPageNameNormalizerTest.php.

References $response.

Member Data Documentation

◆ $response

mixed MediaWikiPageNameNormalizerTestMockHttp::$response
static

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