Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added docs

  • Loading branch information...
commit 26430f023b1b59b9cbc85fc3d8e69c31b80ec4a9 1 parent 3836ffa
unknown authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 libraries/joomla/mediawiki/http.php
View
10 libraries/joomla/mediawiki/http.php
@@ -34,6 +34,16 @@ public function __construct(JRegistry $options = null, JHttpTransport $transport
}
+ /**
+ * Method to send the GET command to the server.
+ *
+ * @param string $url Path to the resource.
+ * @param array $headers An array of name-value pairs to include in the header of the request.
+ *
+ * @return JHttpResponse
+ *
+ * @since 12.1
+ */
public function get($url, array $headers = null)
{
return $this->transport->request('GET', new JUri($url), null, $headers, null, $this->options->get('api.useragent'));
Please sign in to comment.
Something went wrong with that request. Please try again.