JMediawikiHttp
class JMediawikiHttp extends JHttp
HTTP client class for connecting to a MediaWiki instance.
Methods
__construct(
Registry $options = null,
JHttpTransport $transport = null)
Constructor.
JHttpResponse
get(
string $url,
array $headers = null,
integer $timeout = null)
Method to send the GET command to the server.
JHttpResponse
post(
string $url,
mixed $data,
array $headers = null,
integer $timeout = null)
Method to send the POST command to the server.