PHP 7.1.18 Released


(PECL pecl_http >= 0.21.0)

HttpMessage::setRequestUrlSet request URL


public bool HttpMessage::setRequestUrl ( string $url )

Set the Request URL of the HTTP Message.

Elenco dei parametri


the request URL

Valori restituiti

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top