MediaWiki REL1_28
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' )
 
- Static Public Member Functions inherited from Http
static getProxy ()
 Gets the relevant proxy from $wgHTTPProxy.
 
static isValidURI ( $uri)
 Checks that the given URI is a valid one.
 
static post ( $url, $options=[], $caller=__METHOD__)
 Simple wrapper for Http::request( 'POST' )
 
static request ( $method, $url, $options=[], $caller=__METHOD__)
 Perform an HTTP request.
 
static userAgent ()
 A standard user-agent we can use for external requests.
 

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: