public static function getHttpTransports()
	{
		$names = array();
		$iterator = new \DirectoryIterator(__DIR__ . '/Transport');

		/*  @var  $file  \DirectoryIterator */
		foreach ($iterator as $file)
		{
			$fileName = $file->getFilename();

			// Only load for php files.
			if ($file->isFile() && $file->getExtension() == 'php')
			{
				$names[] = substr($fileName, 0, strrpos($fileName, '.'));
			}
		}

		return $names;
	}
public static function getHttpTransports()
	{
		$names = array();
		$iterator = new \DirectoryIterator(__DIR__ . '/Transport');

		/*  @var  $file  \DirectoryIterator */
		foreach ($iterator as $file)
		{
			$fileName = $file->getFilename();

			// Only load for php files.
			if ($file->isFile() && $file->getExtension() == 'php')
			{
				$names[] = substr($fileName, 0, strrpos($fileName, '.'));
			}
		}

		return $names;
	}
public static function getHttpTransports ( ) { $ names = array ( ) ; $ iterator = new \ DirectoryIterator ( __DIR__ . '/Transport' ) ; /*  @var  $file  \DirectoryIterator */ foreach ( $ iterator as $ file ) { $ fileName = $ file -> getFilename ( ) ; // Only load for php files. if ( $ file -> isFile ( ) && $ file -> getExtension ( ) == 'php' ) { $ names [ ] = substr ( $ fileName , 0 , strrpos ( $ fileName , '.' ) ) ; } } return $ names ; }
Get the http transport handlers

@return  array  An array of available transport handlers

@since   1.0
Get the http transport handlers