AutoUpdaterCurlClient

Class AutoUpdaterCurlClient

package

Default

Methods

Executes a get request with curl.

executeGet(string $url, array $options = array()) 

Arguments

$url

string

$options

array

Executes a head request with curl.

executeHead(string $url, array $options = array()) 

Arguments

$url

string

$options

array

Executes a post request with curl.

executePost(string $url, array $data = array(), array $options = array()) 

Arguments

$url

string

$data

array

$options

array

Returns the content of the curl response.

getContent() : string|null

Response

string|null

Returns the content type of the curl response.

getContentType() : string|null

Response

string|null

Returns all or a specific information of the curl response.

getInformation(string|null $key = null) : array|mixed|null

Arguments

$key

string|null

Response

array|mixed|null

Returns the status code of the curl response.

getStatusCode() : integer|null

Response

integer|null

Properties

responseContent

responseContent : string
var

Type(s)

string

responseInformation

responseInformation : array
var

Type(s)

array