文字

HttpRequest::setUrl

(PECL pecl_http >= 0.10.0)

HttpRequest::setUrlSet URL

说明

public bool HttpRequest::setUrl ( string $url )

Set the request URL.

参数

url

the request url

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

上一篇: 下一篇: