PHP Class Microweber\Utils\Http

Datei anzeigen Open project: microweber/microweber Class Usage Examples

Public Properties

Property Type Description
$adapter An instance of the HTTP adapter to use.
$app An instance of the Microweber Application class.

Public Methods

Method 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 method

public __construct ( $app = null )

download() public method

public download ( $save_to_filename, $post_params = false )

get() public method

public get ( $params = false )

post() public method

public post ( $params = false )

set_timeout() public method

public set_timeout ( $seconds )

set_url() public method

public set_url ( $url )

url() public method

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