http
PHP Manual

HttpMessage::setRequestUrl

(PECL pecl_http:0.21.0-1.5.5)

HttpMessage::setRequestUrl — Set request URL

Descripción

public bool HttpMessage::setRequestUrl ( string $url )

Set the Request URL of the HTTP Message.

Lista de parámetros

url

the request URL

Valores retornados

Returns TRUE on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST or supplied URL was empty.


http
PHP Manual