private function cancel($id)
    {
        // Cannot cancel if it has been processed.
        if (!isset($this->handles[$id])) {
            return false;
        }

        $handle = $this->handles[$id]['easy']->handle;
        unset($this->delays[$id], $this->handles[$id]);
        curl_multi_remove_handle($this->_mh, $handle);
        curl_close($handle);

        return true;
    }
private function cancel($id)
    {
        // Cannot cancel if it has been processed.
        if (!isset($this->handles[$id])) {
            return false;
        }

        $handle = $this->handles[$id]['easy']->handle;
        unset($this->delays[$id], $this->handles[$id]);
        curl_multi_remove_handle($this->_mh, $handle);
        curl_close($handle);

        return true;
    }
private function cancel ( $ id ) { // Cannot cancel if it has been processed. if ( ! isset ( $ this -> handles [ $ id ] ) ) { return false ; } $ handle = $ this -> handles [ $ id ] [ 'easy' ] -> handle ; unset ( $ this -> delays [ $ id ] , $ this -> handles [ $ id ] ) ; curl_multi_remove_handle ( $ this -> _mh , $ handle ) ; curl_close ( $ handle ) ; return true ; }
Cancels a handle from sending and removes references to it.

@param int $id Handle ID to cancel and remove.

@return bool True on success, false on failure.
Cancels a handle from sending and removes references to it .