public static function CurlMulti::getAllEvents

Get a list of all of the events emitted from the class

Return value

array

Overrides AbstractHasDispatcher::getAllEvents

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php, line 100

Class

CurlMulti
Send { This implementation allows callers to send blocking requests that return back to the caller when their requests complete, regardless of whether or not previously sending requests in the curl_multi object have completed. The implementation…

Namespace

Guzzle\Http\Curl

Code

public static function getAllEvents() {
  return array(
    // A request was added
    self::ADD_REQUEST,
    // A request was removed
    self::REMOVE_REQUEST,
    // Requests are about to be sent
    self::BEFORE_SEND,
    // The pool finished sending the requests
    self::COMPLETE,
    // A request is still polling (sent to request's event dispatchers)
    self::POLLING_REQUEST,
    // A request exception occurred
    self::MULTI_EXCEPTION,
  );
}