send ( $opt )

Executes the batch request queue.

Access

public

Parameters

Parameter

Type

Required

Description

$opt

array

Optional

(DO NOT USE) Enabled for compatibility with the method this overrides, although any values passed will be ignored.

Returns

Type

Description

array

An indexed array of CFResponse objects.

Source

Method defined in utilities/batchrequest.class.php | Toggle source view (11 lines) | View on GitHub

public function send($opt = null)
{
    $http = new $this->request_class(null, $this->proxy, null, $this->credentials);

    // Make the request
    $response = $http->send_multi_request($this->queue, array(
        'limit' => $this->limit
    ));

    return $response;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback