The HttpRequest
PHP Manual

HttpRequest::setUrl

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::setUrlSet URL

Description

public bool HttpRequest::setUrl ( string $url )

Set the request URL.

Parameters

url

the request url

Return Values

Returns TRUE on success or FALSE on failure.


The HttpRequest
PHP Manual