initCurl() initCurl() : void Check if curl is activate Throws \Octopush\Exceptions\CurlRequiredException
exec() exec() : string Execute the curl request Throws \Octopush\Exceptions\CurlResponseException \Octopush\Exceptions\CurlResponseCodeException Returns string — xml response
setOptions() setOptions(string $url, string $query, integer $port) : void Sets the Curl options Parameters string $url The request url string $query The query string builded integer $port The port must be 80 or 443