©
This document uses PHP Chinese website manual Release
(PECL pecl_http >= 0.21.0)
HttpMessage::setRequestUrl — Set request URL
$url
)Set the Request URL of the HTTP Message.
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.