original_string: protected function dispatch()
      {
          // Start processing the requests.
          list($mrc, $active) = $this->process();
  
          // Keep processing requests until we're done.
          while ($active and $mrc === CURLM_OK) {
              // Process the next request.
              list($mrc, $active) = $this->process();
          }
  
          // Throw an exception if something went wrong.
          if ($mrc !== CURLM_OK) {
              throw new CurlErrorException('cURL read error #'.$mrc);
          }
      }
code: protected function dispatch()
      {
          // Start processing the requests.
          list($mrc, $active) = $this->process();
  
          // Keep processing requests until we're done.
          while ($active and $mrc === CURLM_OK) {
              // Process the next request.
              list($mrc, $active) = $this->process();
          }
  
          // Throw an exception if something went wrong.
          if ($mrc !== CURLM_OK) {
              throw new CurlErrorException('cURL read error #'.$mrc);
          }
      }
code_tokens: protected function dispatch ( ) { // Start processing the requests. list ( $ mrc , $ active ) = $ this -> process ( ) ; // Keep processing requests until we're done. while ( $ active and $ mrc === CURLM_OK ) { // Process the next request. list ( $ mrc , $ active ) = $ this -> process ( ) ; } // Throw an exception if something went wrong. if ( $ mrc !== CURLM_OK ) { throw new CurlErrorException ( 'cURL read error #' . $ mrc ) ; } }
docstring: Dispatches all requests in the stack.
docstring_tokens: Dispatches all requests in the stack .