HttpMessage::setRequestUrl
Set request URL
Description
public
bool HttpMessage::setRequestUrl
( string $url
)
Parameters
-
url
-
the request URL
Return Values
Returns TRUE
on success, or FALSE
if the message is not of type
HttpMessage::TYPE_REQUEST
or supplied URL was empty.