HttpMessage
PHP Manual

HttpMessage::getRequestUrl

(PECL pecl_http >= 0.21.0)

HttpMessage::getRequestUrlGet request URL

说明

public string HttpMessage::getRequestUrl ( void )

Get the Request URL of the Message.

参数

返回值

Returns the request URL as string on success, or FALSE if the message is not of type HttpMessage::TYPE_REQUEST.


HttpMessage
PHP Manual