JGithubHttp

Extends \JHttp

HTTP client class for connecting to a GitHub instance.

deprecated
since

1.7.3

deprecated

4.0 Use the joomla/github package via Composer instead

package

Joomla.Platform

Methods

__construct

Constructor.

__construct(\Joomla\Registry\Registry $options = null, \JHttpTransport $transport = null) 
since

1.7.3

Arguments

$options

\Joomla\Registry\RegistryClient options object.

$transport

\JHttpTransportThe HTTP transport object.

Constants

AUTHENTICATION_NONE

Use no authentication for HTTP connections.

Value 0
since

1.7.3

Type(s)

integer

AUTHENTICATION_BASIC

Use basic authentication for HTTP connections.

Value 1
since

1.7.3

Type(s)

integer

AUTHENTICATION_OAUTH

Use OAuth authentication for HTTP connections.

Value 2
since

1.7.3

Type(s)

integer