PHP Class Microweber\Utils\Http

Afficher le fichier Open project: microweber/microweber Class Usage Examples

Méthodes publiques

Свойство Type Description
$adapter An instance of the HTTP adapter to use.
$app An instance of the Microweber Application class.

Méthodes publiques

Méthode Description
__construct ( $app = null )
download ( $save_to_filename, $post_params = false )
get ( $params = false )
post ( $params = false )
set_timeout ( $seconds )
set_url ( $url )
url ( $url )

Method Details

__construct() public méthode

public __construct ( $app = null )

download() public méthode

public download ( $save_to_filename, $post_params = false )

get() public méthode

public get ( $params = false )

post() public méthode

public post ( $params = false )

set_timeout() public méthode

public set_timeout ( $seconds )

set_url() public méthode

public set_url ( $url )

url() public méthode

public url ( $url )

Property Details

$adapter public_oe property

An instance of the HTTP adapter to use.
public $adapter

$app public_oe property

An instance of the Microweber Application class.
public $app