\JMediawikiHttp
HTTP client class for connecting to a MediaWiki instance.
Synopsis
class JMediawikiHttp
extends JHttp
{
- // Inherited members from JHttp
- protected JRegistry $options;
- protected JHttpTransport $transport;
- // methods
- public void __construct()
- public JHttpResponse get()
- public JHttpResponse post()
- // Inherited methods from JHttp
- public void __construct()
- public mixed getOption()
- public JHttp setOption()
- public JHttpResponse options()
- public JHttpResponse head()
- public JHttpResponse get()
- public JHttpResponse post()
- public JHttpResponse put()
- public JHttpResponse delete()
- public JHttpResponse trace()
- public JHttpResponse patch()
Hierarchy
Extends
Members
protected
- $options — JRegistry
- $transport — JHttpTransport
Methods
public
- __construct() — Constructor.
- get() — Method to send the GET command to the server.
- post() — Method to send the POST command to the server.
Inherited from JHttp
public
- delete() — Method to send the DELETE command to the server.
- get() — Method to send the GET command to the server.
- getOption() — Get an option from the HTTP client.
- head() — Method to send the HEAD command to the server.
- options() — Method to send the OPTIONS command to the server.
- patch() — Method to send the PATCH command to the server.
- post() — Method to send the POST command to the server.
- put() — Method to send the PUT command to the server.
- setOption() — Set an option for the HTTP client.
- trace() — Method to send the TRACE command to the server.