HttpMessage::setRequestUrl
(PECL pecl_http >= 0.21.0)
HttpMessage::setRequestUrl — Set request URL
Описание
public
bool HttpMessage::setRequestUrl
( string $url
)
Список параметров
-
url
-
the request URL
Возвращаемые значения
Returns TRUE on success, or FALSE if the message is not of type
HttpMessage::TYPE_REQUEST or supplied URL was empty.