Forum und email

HttpRequest::setUrl

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::setUrl — Set URL

說明

public bool HttpRequest::setUrl ( string $url )

Set the request URL.

參數

url

the request url

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE