The HttpRequest
PHP Manual

HttpRequest::setUrl

(PECL pecl_http >= 0.10.0)

HttpRequest::setUrlSet URL

Описание

public bool HttpRequest::setUrl ( string $url )

Set the request URL.

Параметри

url

the request url

Връщани стойности

Връща TRUE при успех или FALSE при неуспех.


The HttpRequest
PHP Manual