private function _dispatch_request($url, $args)
{
static $transports = array();
$class = $this->_get_first_available_transport($args, $url);
if (!$class) {
$this->set_error(4);
return false;
}
// Transport claims to support request, instantiate it and give it a whirl.
if (empty($transports[$class])) {
$transports[$class] = new $class();
}
$response = $transports[$class]->request($url, $args);
return $response;
}