MediaWiki
1.30.2
|
Example class for HTTP accessable external objects. More...
Public Member Functions | |
fetchFromURL ( $url) | |
store ( $cluster, $data) | |
Public Member Functions inherited from ExternalStoreMedium | |
__construct (array $params=[]) | |
batchFetchFromURLs (array $urls) | |
Fetch data from given external store URLs. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ExternalStoreMedium | |
array | $params = [] |
Example class for HTTP accessable external objects.
Only supports reading, not storing.
Definition at line 29 of file ExternalStoreHttp.php.
ExternalStoreHttp::fetchFromURL | ( | $url | ) |
string | $url |
MWException |
Reimplemented from ExternalStoreMedium.
Definition at line 36 of file ExternalStoreHttp.php.
References Http\get().
ExternalStoreHttp::store | ( | $cluster, | |
$data | |||
) |
string | $cluster | |
string | $data |
MWException |
Reimplemented from ExternalStoreMedium.
Definition at line 47 of file ExternalStoreHttp.php.