©
本文档使用 PHP中文网手册 发布
(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.