The HttpRequest
PHP Manual

HttpRequest::setUrl

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::setUrlSet URL

Описание

public bool HttpRequest::setUrl ( string $url )

Set the request URL.

Список параметров

url

the request url

Возвращаемые значения

Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.


The HttpRequest
PHP Manual