|
static | get ( $url, $options=[], $caller=__METHOD__) |
| Simple wrapper for Http::request( 'GET' )
|
|
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.
|
|
- Access:\n private
- See also
- Http
Definition at line 101 of file MediaWikiPageNameNormalizerTest.php.
◆ 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 | $caller | The 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.
◆ $response
mixed MediaWikiPageNameNormalizerTestMockHttp::$response |
|
static |
The documentation for this class was generated from the following file: