SFAPIclient/Requests.php
public static function add_transport($transport) {
		if (empty(self::$transports)) {
			self::$transports = array(
				'Requests_Transport_cURL',
				'Requests_Transport_fsockopen',
			);
		}

		self::$transports = array_merge(self::$transports, array($transport));
	}
public static function add_transport($transport) {
		if (empty(self::$transports)) {
			self::$transports = array(
				'Requests_Transport_cURL',
				'Requests_Transport_fsockopen',
			);
		}

		self::$transports = array_merge(self::$transports, array($transport));
	}
public static function add_transport ( $ transport ) { if ( empty ( self :: $ transports ) ) { self :: $ transports = array ( 'Requests_Transport_cURL' , 'Requests_Transport_fsockopen' , ) ; } self :: $ transports = array_merge ( self :: $ transports , array ( $ transport ) ) ; }
Register a transport

@param string $transport Transport class to add, must support the Requests_Transport interface
Register a transport