public function call($url, $callback, $additionalData = null, $options = [])
    {
        $curlJob = $this->factory->createCurlJob($url, $callback, $additionalData, $options);

        // Start job execution.
        $this->factory->startJob($curlJob);
    }
public function call($url, $callback, $additionalData = null, $options = [])
    {
        $curlJob = $this->factory->createCurlJob($url, $callback, $additionalData, $options);

        // Start job execution.
        $this->factory->startJob($curlJob);
    }
public function call ( $ url , $ callback , $ additionalData = null , $ options = [ ] ) { $ curlJob = $ this -> factory -> createCurlJob ( $ url , $ callback , $ additionalData , $ options ) ; // Start job execution. $ this -> factory -> startJob ( $ curlJob ) ; }
Make a http query.

@param string $url
@param callable $callback
@param null|mixed $additionalData If you need to pass additional metadata.
You will get this back in the callback.
@param array $options curl options array
Make a http query .