The HttpRequest
PHP Manual

HttpRequest::getUrl

(PECL pecl_http >= 0.10.0)

HttpRequest::getUrlGet url

说明

public string HttpRequest::getUrl ( void )

Get the previously set request URL.

返回值

Returns the currently set request url as string.


The HttpRequest
PHP Manual